sdocs-dev 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/sdocs-dev.js +3 -2
- package/package.json +1 -1
package/bin/sdocs-dev.js
CHANGED
|
@@ -44,6 +44,7 @@ SDocs (sdocs.dev) renders markdown with clean styling you can adjust.
|
|
|
44
44
|
Content lives in the URL hash — nothing hits a server.
|
|
45
45
|
|
|
46
46
|
Use it (or offer it) when the user wants to read, share, or export a \`.md\` file.
|
|
47
|
+
Also handy for copying specific code - SDocs code blocks have copy buttons.
|
|
47
48
|
|
|
48
49
|
The \`sdoc\` CLI is installed globally:
|
|
49
50
|
- \`sdoc file.md\` — open styled in browser (great for easy reading).
|
|
@@ -182,7 +183,7 @@ async function runSetup({ force = false } = {}) {
|
|
|
182
183
|
return;
|
|
183
184
|
}
|
|
184
185
|
console.log('\n\u2728\u2500\u2500\u2500\u2500\u2500\u2500\u2500 SDocs setup \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2728');
|
|
185
|
-
console.log('First run only
|
|
186
|
+
console.log('First run only - wire SDocs into your coding agents.\n');
|
|
186
187
|
console.log('No coding-agent configs detected.');
|
|
187
188
|
const a = await ask('Do you use opencode? [y/N] ');
|
|
188
189
|
const writtenTo = [];
|
|
@@ -199,7 +200,7 @@ async function runSetup({ force = false } = {}) {
|
|
|
199
200
|
}
|
|
200
201
|
|
|
201
202
|
console.log('\n\u2728\u2500\u2500\u2500\u2500\u2500\u2500\u2500 SDocs setup \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2728');
|
|
202
|
-
console.log('First run only
|
|
203
|
+
console.log('First run only - wire SDocs into your coding agents.\n');
|
|
203
204
|
console.log('Detected: ' + detected.map(t => t.name).join(', '));
|
|
204
205
|
console.log('\nWill append a short SDocs section to:');
|
|
205
206
|
for (const t of detected) console.log(' ' + t.filePath);
|