@cssdoc/config 0.5.1 → 0.5.3
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/cssdoc.schema.json +4 -0
- package/dist/index.d.mts +6 -0
- package/dist/index.mjs +8 -0
- package/package.json +2 -2
package/cssdoc.schema.json
CHANGED
|
@@ -185,6 +185,10 @@
|
|
|
185
185
|
"baseHref": {
|
|
186
186
|
"description": "Base href for @related cross-links and the sidebar/index links.",
|
|
187
187
|
"type": "string"
|
|
188
|
+
},
|
|
189
|
+
"structureView": {
|
|
190
|
+
"description": "Which Structure representation(s) to emit: \"text\" tree, \"diagram\" flowchart, or \"both\" (default).",
|
|
191
|
+
"enum": ["text", "diagram", "both"]
|
|
188
192
|
}
|
|
189
193
|
}
|
|
190
194
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -17,6 +17,8 @@ interface RenderConfig {
|
|
|
17
17
|
sectionOrder?: readonly string[];
|
|
18
18
|
headingPrefix?: string;
|
|
19
19
|
baseHref?: string;
|
|
20
|
+
/** Which Structure representation(s) to emit: `"text"`, `"diagram"`, or `"both"` (default). */
|
|
21
|
+
structureView?: "text" | "diagram" | "both";
|
|
20
22
|
}
|
|
21
23
|
/**
|
|
22
24
|
* The conventional file names loaders look for, in preference order. Both are parsed the same way
|
|
@@ -268,6 +270,10 @@ declare const cssDocSchema: {
|
|
|
268
270
|
readonly description: "Base href for @related cross-links and the sidebar/index links.";
|
|
269
271
|
readonly type: "string";
|
|
270
272
|
};
|
|
273
|
+
readonly structureView: {
|
|
274
|
+
readonly description: "Which Structure representation(s) to emit: \"text\" tree, \"diagram\" flowchart, or \"both\" (default).";
|
|
275
|
+
readonly enum: readonly ["text", "diagram", "both"];
|
|
276
|
+
};
|
|
271
277
|
};
|
|
272
278
|
};
|
|
273
279
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -167,6 +167,14 @@ const cssDocSchema = {
|
|
|
167
167
|
baseHref: {
|
|
168
168
|
description: "Base href for @related cross-links and the sidebar/index links.",
|
|
169
169
|
type: "string"
|
|
170
|
+
},
|
|
171
|
+
structureView: {
|
|
172
|
+
description: "Which Structure representation(s) to emit: \"text\" tree, \"diagram\" flowchart, or \"both\" (default).",
|
|
173
|
+
enum: [
|
|
174
|
+
"text",
|
|
175
|
+
"diagram",
|
|
176
|
+
"both"
|
|
177
|
+
]
|
|
170
178
|
}
|
|
171
179
|
}
|
|
172
180
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cssdoc/config",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "Load a cssdoc.json configuration file (custom tags, extends) into an @cssdoc/core CssDocConfiguration — TSDoc-config, for CSS.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"config",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"ajv": "^8.20.0",
|
|
34
34
|
"jsonc-parser": "^3.3.1",
|
|
35
|
-
"@cssdoc/core": "0.5.
|
|
35
|
+
"@cssdoc/core": "0.5.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/node": "^24.13.3",
|