create-idocs 0.5.0 → 0.6.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-idocs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Scaffold a docs site with interactive diagrams: npm create idocs@latest my-docs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"access": "public"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@the-package-labs/idocs-core": "^0.
|
|
28
|
+
"@the-package-labs/idocs-core": "^0.6.0"
|
|
29
29
|
},
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"scripts": {
|
|
@@ -69,7 +69,7 @@ scenarios:
|
|
|
69
69
|
- api -> browser: 200 OK
|
|
70
70
|
```
|
|
71
71
|
|
|
72
|
-
Click-through documentation for a box goes in `diagrams/<name>/nodes/<id>.md` (markdown, tables and code fences work). Long scenarios can live in `diagrams/<name>/scenarios/<id>.yaml`.
|
|
72
|
+
Click-through documentation for a box goes in `diagrams/<name>/nodes/<id>.md` (markdown, tables and code fences work). Every code fence gets a Copy button, and in a shell, text or config fence a `{name}` or `<name>` is a value the reader fills in before copying (`\{name}` writes the braces literally; `vars` and `novars` after the language turn it on or off for other languages). Long scenarios can live in `diagrams/<name>/scenarios/<id>.yaml`.
|
|
73
73
|
|
|
74
74
|
On a page (`src/content/docs/*.mdx`):
|
|
75
75
|
|
package/template/package.json
CHANGED
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
"@astrojs/starlight": "^0.42.0",
|
|
15
15
|
"@fontsource/ibm-plex-mono": "^5.3.0",
|
|
16
16
|
"@fontsource/ibm-plex-sans": "^5.3.0",
|
|
17
|
-
"@the-package-labs/idocs-astro": "^0.
|
|
18
|
-
"@the-package-labs/idocs-react": "^0.
|
|
17
|
+
"@the-package-labs/idocs-astro": "^0.6.0",
|
|
18
|
+
"@the-package-labs/idocs-react": "^0.6.0",
|
|
19
19
|
"astro": "^7.0.0",
|
|
20
20
|
"react": "^19.3.0",
|
|
21
21
|
"react-dom": "^19.3.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@the-package-labs/idocs": "^0.
|
|
24
|
+
"@the-package-labs/idocs": "^0.6.0",
|
|
25
25
|
"@types/react": "^19.2.0",
|
|
26
26
|
"@types/react-dom": "^19.2.0"
|
|
27
27
|
},
|