@takazudo/zudo-doc 5.21.0 → 5.22.1
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/CHANGELOG.md +22 -0
- package/dist/config.d.ts +11 -0
- package/dist/config.js +2 -0
- package/dist/doc-history-area/index.d.ts +2 -0
- package/dist/doc-history-area/index.js +5 -4
- package/dist/doc-metainfo-area/index.d.ts +2 -0
- package/dist/doc-metainfo-area/index.js +8 -3
- package/dist/plugins/doc-history.js +7 -3
- package/dist/plugins/img-src-check.d.ts +3 -0
- package/dist/plugins/img-src-check.js +21 -0
- package/dist/plugins/internal/claude-resources/generate.js +2 -2
- package/dist/plugins/internal/doc-history/index.d.ts +6 -1
- package/dist/plugins/internal/doc-history/index.js +1 -0
- package/dist/plugins/internal/img-src-check/index.d.ts +65 -0
- package/dist/plugins/internal/img-src-check/index.js +179 -0
- package/dist/plugins/internal/resource-docs-shared/index.d.ts +1 -1
- package/dist/plugins/internal/resource-docs-shared/index.js +6 -1
- package/dist/plugins/internal/resource-docs-shared/links.d.ts +6 -1
- package/dist/plugins/internal/resource-docs-shared/links.js +21 -3
- package/dist/plugins/internal/resource-docs-shared/skills.js +27 -5
- package/dist/preset.d.ts +4 -0
- package/dist/preset.js +13 -1
- package/dist/safelist.css +1 -1
- package/dist/settings.d.ts +4 -0
- package/dist/site-tree-nav-island/index.js +4 -4
- package/eject/site-tree-nav-island/index.tsx +5 -5
- package/package.json +7 -3
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,28 @@ The format is based on Keep a Changelog, and release notes are generated from th
|
|
|
8
8
|
|
|
9
9
|
No unreleased changes.
|
|
10
10
|
|
|
11
|
+
## [5.22.1] - 2026-09-13
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
- Prevented long, unbroken home-sitemap labels—including depth-0 flex items—from causing horizontal page overflow at larger font sizes. (fd9ca5d2, 4215ba9b)
|
|
16
|
+
|
|
17
|
+
### Other Changes
|
|
18
|
+
|
|
19
|
+
- Expanded the optional `@takazudo/zdtp` peer range to support 0.8.x without requiring configuration or storage migrations. (f744769a)
|
|
20
|
+
|
|
21
|
+
## [5.22.0] - 2026-09-11
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
- Added `docMetainfoFields` to select the metadata fields displayed on documentation pages. It defaults to all fields; an empty array hides them all, and `["updated"]` displays Updated even when Created has the same formatted date. (`06044fa30`, `3832e08af`)
|
|
26
|
+
- Added `docHistoryUi: false` to retain generated git metadata while disabling the history viewer, history JSON generation, and development proxy. Configured view-source links remain available. (`84cd63af5`)
|
|
27
|
+
- Added a post-build check for missing site-absolute `<img src>` files, using the existing `onBrokenMarkdownLinks` severity setting. (`9cc259d65`)
|
|
28
|
+
|
|
29
|
+
### Bug Fixes
|
|
30
|
+
|
|
31
|
+
- Mirrored Claude commands and agents and shared Claude/Codex skills now render repository-relative links as labels when their targets are not emitted. Code examples and links to emitted skill-body sub-pages are preserved. (`bb6d0390c`)
|
|
32
|
+
|
|
11
33
|
## [5.21.0] - 2026-09-09
|
|
12
34
|
|
|
13
35
|
### Features
|
package/dist/config.d.ts
CHANGED
|
@@ -249,6 +249,11 @@ export interface ZudoDocConfig {
|
|
|
249
249
|
* @default false
|
|
250
250
|
*/
|
|
251
251
|
docMetainfo?: boolean;
|
|
252
|
+
/**
|
|
253
|
+
* Metadata fields to show in the doc metadata area.
|
|
254
|
+
* @default ["created", "updated", "author"]
|
|
255
|
+
*/
|
|
256
|
+
docMetainfoFields?: Array<"created" | "updated" | "author">;
|
|
252
257
|
/**
|
|
253
258
|
* Enable the `/docs/tags` + `/docs/tags/[tag]` tag index routes.
|
|
254
259
|
* @default false
|
|
@@ -378,6 +383,12 @@ export interface ZudoDocConfig {
|
|
|
378
383
|
* @default false
|
|
379
384
|
*/
|
|
380
385
|
docHistory?: boolean;
|
|
386
|
+
/**
|
|
387
|
+
* Enable the doc history dropdown UI, history JSON generation, and dev
|
|
388
|
+
* history proxy while retaining the history metadata manifest.
|
|
389
|
+
* @default true
|
|
390
|
+
*/
|
|
391
|
+
docHistoryUi?: boolean;
|
|
381
392
|
/**
|
|
382
393
|
* Glob patterns matched against the doc slug (path minus extension, `/index`
|
|
383
394
|
* stripped, root = `index`) that exclude matching pages from git-history
|
package/dist/config.js
CHANGED
|
@@ -68,6 +68,7 @@ const DEFAULT_SETTINGS = {
|
|
|
68
68
|
},
|
|
69
69
|
sitemap: false,
|
|
70
70
|
docMetainfo: false,
|
|
71
|
+
docMetainfoFields: ["created", "updated", "author"],
|
|
71
72
|
docTags: false,
|
|
72
73
|
tagPlacement: "after-title",
|
|
73
74
|
tagGovernance: "off",
|
|
@@ -94,6 +95,7 @@ const DEFAULT_SETTINGS = {
|
|
|
94
95
|
dynamicPageTransition: false,
|
|
95
96
|
frontmatterPreview: false,
|
|
96
97
|
docHistory: false,
|
|
98
|
+
docHistoryUi: true,
|
|
97
99
|
docHistoryExclude: [],
|
|
98
100
|
assetViewer: false,
|
|
99
101
|
assetViewerDir: "assets",
|
|
@@ -14,6 +14,8 @@ export interface DocHistoryMetaEntry {
|
|
|
14
14
|
/** Settings subset read by the DocHistoryArea factory. */
|
|
15
15
|
export interface DocHistoryAreaSettings {
|
|
16
16
|
docHistory: boolean;
|
|
17
|
+
/** Keep the metadata manifest while suppressing the history island. */
|
|
18
|
+
docHistoryUi?: boolean;
|
|
17
19
|
docHistoryExclude?: string[];
|
|
18
20
|
bodyFootUtilArea: {
|
|
19
21
|
viewSourceLink?: boolean;
|
|
@@ -31,7 +31,8 @@ function createDocHistoryArea(ctx) {
|
|
|
31
31
|
}) {
|
|
32
32
|
if (!settings.docHistory) return null;
|
|
33
33
|
const historySlug = toHistorySlug(slug);
|
|
34
|
-
|
|
34
|
+
const showDocHistoryUi = settings.docHistoryUi !== false;
|
|
35
|
+
if (isHistoryExcluded(historySlug) && showDocHistoryUi) return null;
|
|
35
36
|
const effectiveHistoryLocale = isFallback ? defaultLocale : locale;
|
|
36
37
|
const composedSlug = effectiveHistoryLocale === defaultLocale ? historySlug : `${effectiveHistoryLocale}/${historySlug}`;
|
|
37
38
|
const meta = docHistoryMeta[composedSlug];
|
|
@@ -56,7 +57,7 @@ function createDocHistoryArea(ctx) {
|
|
|
56
57
|
updatedDate ? `: ${updatedDate}` : ""
|
|
57
58
|
] })
|
|
58
59
|
] });
|
|
59
|
-
const docHistoryIsland = Island({
|
|
60
|
+
const docHistoryIsland = showDocHistoryUi ? Island({
|
|
60
61
|
when: "idle",
|
|
61
62
|
ssrFallback: fallback,
|
|
62
63
|
children: /* @__PURE__ */ jsx(
|
|
@@ -69,12 +70,12 @@ function createDocHistoryArea(ctx) {
|
|
|
69
70
|
dateFormats: docHistoryDateFormats
|
|
70
71
|
}
|
|
71
72
|
)
|
|
72
|
-
});
|
|
73
|
+
}) : null;
|
|
74
|
+
void historyLabel;
|
|
73
75
|
const utilSettings = settings.bodyFootUtilArea;
|
|
74
76
|
const sourceExt = meta ? meta.ext : sourceFileExt;
|
|
75
77
|
const sourceUrl = utilSettings && utilSettings.viewSourceLink && entrySlug && sourceExt && contentDir ? buildGitHubSourceUrl(contentDir, entrySlug + sourceExt) : null;
|
|
76
78
|
const viewSourceLabel = t("doc.viewSource", locale);
|
|
77
|
-
void historyLabel;
|
|
78
79
|
return /* @__PURE__ */ jsx(
|
|
79
80
|
BodyFootUtilArea,
|
|
80
81
|
{
|
|
@@ -13,6 +13,8 @@ export interface DocHistoryMetaEntry {
|
|
|
13
13
|
/** Settings subset read by the DocMetainfoArea factory. */
|
|
14
14
|
export interface DocMetainfoAreaSettings {
|
|
15
15
|
docMetainfo: boolean;
|
|
16
|
+
/** Metadata fields shown in the doc metadata area; omitted means all fields. */
|
|
17
|
+
docMetainfoFields?: Array<"created" | "updated" | "author">;
|
|
16
18
|
}
|
|
17
19
|
export interface DocMetainfoAreaProps {
|
|
18
20
|
/** Page slug, e.g. "getting-started/intro". */
|
|
@@ -13,6 +13,11 @@ function createDocMetainfoArea(ctx) {
|
|
|
13
13
|
const dateFormatsFor = deriveDateFormats(ctx);
|
|
14
14
|
function DocMetainfoArea({ slug, locale, isFallback }) {
|
|
15
15
|
if (!settings.docMetainfo) return null;
|
|
16
|
+
const fields = settings.docMetainfoFields;
|
|
17
|
+
const showCreated = fields === void 0 || fields.includes("created");
|
|
18
|
+
const showUpdated = fields === void 0 || fields.includes("updated");
|
|
19
|
+
const showAuthor = fields === void 0 || fields.includes("author");
|
|
20
|
+
if (!showCreated && !showUpdated && !showAuthor) return null;
|
|
16
21
|
const historySlug = toHistorySlug(slug);
|
|
17
22
|
const effectiveHistoryLocale = isFallback ? defaultLocale : locale;
|
|
18
23
|
const composedSlug = effectiveHistoryLocale === defaultLocale ? historySlug : `${effectiveHistoryLocale}/${historySlug}`;
|
|
@@ -21,9 +26,9 @@ function createDocMetainfoArea(ctx) {
|
|
|
21
26
|
return /* @__PURE__ */ jsx(
|
|
22
27
|
DocMetainfo,
|
|
23
28
|
{
|
|
24
|
-
createdAt: meta.createdDate ? formatDate(meta.createdDate, locale, dateFormatsFor(locale).full) : null,
|
|
25
|
-
updatedAt: meta.updatedDate ? formatDate(meta.updatedDate, locale, dateFormatsFor(locale).full) : null,
|
|
26
|
-
author: meta.author || null,
|
|
29
|
+
createdAt: showCreated && meta.createdDate ? formatDate(meta.createdDate, locale, dateFormatsFor(locale).full) : null,
|
|
30
|
+
updatedAt: showUpdated && meta.updatedDate ? formatDate(meta.updatedDate, locale, dateFormatsFor(locale).full) : null,
|
|
31
|
+
author: showAuthor ? meta.author || null : null,
|
|
27
32
|
createdLabel: t("doc.created", locale),
|
|
28
33
|
updatedLabel: t("doc.updated", locale)
|
|
29
34
|
}
|
|
@@ -29,8 +29,10 @@ const plugin = {
|
|
|
29
29
|
});
|
|
30
30
|
},
|
|
31
31
|
async postBuild(ctx) {
|
|
32
|
+
const options = ctx.options;
|
|
33
|
+
if (options.ui === false) return;
|
|
32
34
|
try {
|
|
33
|
-
await runDocHistoryPostBuild(
|
|
35
|
+
await runDocHistoryPostBuild(options, {
|
|
34
36
|
outDir: ctx.outDir,
|
|
35
37
|
logger: ctx.logger
|
|
36
38
|
});
|
|
@@ -44,11 +46,13 @@ const plugin = {
|
|
|
44
46
|
}
|
|
45
47
|
},
|
|
46
48
|
devMiddleware(ctx) {
|
|
49
|
+
const options = ctx.options;
|
|
50
|
+
if (options.ui === false) return;
|
|
47
51
|
const middleware = createDocHistoryDevMiddleware(
|
|
48
|
-
|
|
52
|
+
options,
|
|
49
53
|
ctx.logger
|
|
50
54
|
);
|
|
51
|
-
const basePrefix = getBasePrefix(
|
|
55
|
+
const basePrefix = getBasePrefix(options.base);
|
|
52
56
|
ctx.register(`${basePrefix}/doc-history`, connectToZfbHandler(middleware));
|
|
53
57
|
}
|
|
54
58
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { checkImgSrcs } from "./internal/img-src-check/index.js";
|
|
2
|
+
function severity(value) {
|
|
3
|
+
return value === "error" || value === "ignore" ? value : "warn";
|
|
4
|
+
}
|
|
5
|
+
const plugin = {
|
|
6
|
+
name: "img-src-check",
|
|
7
|
+
postBuild(ctx) {
|
|
8
|
+
const onBroken = severity(ctx.options["onBroken"]);
|
|
9
|
+
if (onBroken === "ignore") return;
|
|
10
|
+
checkImgSrcs({
|
|
11
|
+
outDir: ctx.outDir,
|
|
12
|
+
base: typeof ctx.options["base"] === "string" ? ctx.options["base"] : "/",
|
|
13
|
+
onBroken,
|
|
14
|
+
logger: ctx.logger
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
var img_src_check_default = plugin;
|
|
19
|
+
export {
|
|
20
|
+
img_src_check_default as default
|
|
21
|
+
};
|
|
@@ -133,7 +133,7 @@ sidebar_label: "${escapeTitle(name)}"
|
|
|
133
133
|
generated: true
|
|
134
134
|
---
|
|
135
135
|
|
|
136
|
-
${escapeForMdx(parsed.content.trim())}
|
|
136
|
+
${escapeForMdx(downgradeRepoRelativeLinks(parsed.content.trim()))}
|
|
137
137
|
`;
|
|
138
138
|
fs.writeFileSync(path.join(outputDir, `${name}.mdx`), mdx);
|
|
139
139
|
}
|
|
@@ -196,7 +196,7 @@ generated: true
|
|
|
196
196
|
---
|
|
197
197
|
|
|
198
198
|
${modelBadge}
|
|
199
|
-
${escapeForMdx(parsed.content.trim())}
|
|
199
|
+
${escapeForMdx(downgradeRepoRelativeLinks(parsed.content.trim()))}
|
|
200
200
|
`;
|
|
201
201
|
fs.writeFileSync(path.join(outputDir, `${fileSlug}.mdx`), mdx);
|
|
202
202
|
}
|
|
@@ -13,6 +13,10 @@ export interface DocHistoryOptions {
|
|
|
13
13
|
locales?: Record<string, DocHistoryLocaleConfig>;
|
|
14
14
|
/** Slug globs excluded from pre-build metadata and post-build history JSON. */
|
|
15
15
|
exclude?: string[];
|
|
16
|
+
/** Whether the history UI, JSON generation, and dev proxy are enabled. Defaults to `true`. */
|
|
17
|
+
ui?: boolean;
|
|
18
|
+
/** Site base path used when registering the dev proxy route. */
|
|
19
|
+
base?: string;
|
|
16
20
|
/**
|
|
17
21
|
* Port the standalone `@takazudo/zudo-doc-history-server` listens on.
|
|
18
22
|
* Defaults to `4322` to match the server's CLI default. Only used by
|
|
@@ -118,7 +122,8 @@ export declare function shouldGeneratePostBuild(env?: NodeJS.ProcessEnv): {
|
|
|
118
122
|
* `@takazudo/zudo-doc-history-server` to write per-page git history JSON
|
|
119
123
|
* files into `<outDir>/doc-history/`.
|
|
120
124
|
*
|
|
121
|
-
* Generation is gated by `shouldGeneratePostBuild` (see its
|
|
125
|
+
* Generation is gated by `options.ui` and `shouldGeneratePostBuild` (see its
|
|
126
|
+
* docs): `ui: false` is always skipped; otherwise generation is skipped by
|
|
122
127
|
* default on local builds (opt in with `GEN_DOC_HISTORY=1`), run in CI and
|
|
123
128
|
* when explicitly opted in, and always suppressed by `SKIP_DOC_HISTORY=1` or
|
|
124
129
|
* `DOC_HISTORY_SKIP_POSTBUILD=1`.
|
|
@@ -70,6 +70,7 @@ function isCiEnv(env) {
|
|
|
70
70
|
return env.CI === "true" || env.CI === "1" || env.GITHUB_ACTIONS === "true";
|
|
71
71
|
}
|
|
72
72
|
async function runDocHistoryPostBuild(options, ctx) {
|
|
73
|
+
if (options.ui === false) return;
|
|
73
74
|
const { generate, reason } = shouldGeneratePostBuild();
|
|
74
75
|
if (!generate) {
|
|
75
76
|
ctx.logger?.info(`Skipping doc history generation (${reason})`);
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/** Severity used by the raw image-source check. */
|
|
2
|
+
export type ImgSrcCheckSeverity = "warn" | "error" | "ignore";
|
|
3
|
+
/** Logger surface needed by the scanner's reporting phase. */
|
|
4
|
+
export interface ImgSrcCheckLogger {
|
|
5
|
+
warn(message: string): void;
|
|
6
|
+
}
|
|
7
|
+
/** One raw image reference that could not be resolved to a file. */
|
|
8
|
+
export interface BrokenImgSrc {
|
|
9
|
+
/** HTML page path relative to the build output directory. */
|
|
10
|
+
pagePath: string;
|
|
11
|
+
/** The decoded attribute value as authored in the rendered HTML. */
|
|
12
|
+
src: string;
|
|
13
|
+
/** Why the reference was considered broken. */
|
|
14
|
+
reason: string;
|
|
15
|
+
}
|
|
16
|
+
/** Result returned by the filesystem scanner before reporting. */
|
|
17
|
+
export interface ImgSrcCheckResult {
|
|
18
|
+
/** Number of HTML files visited under `outDir`. */
|
|
19
|
+
htmlFileCount: number;
|
|
20
|
+
/** Number of site-absolute `src` attributes inspected. */
|
|
21
|
+
imageCount: number;
|
|
22
|
+
/** Every broken occurrence, including duplicate references. */
|
|
23
|
+
broken: BrokenImgSrc[];
|
|
24
|
+
}
|
|
25
|
+
/** Options for scanning and reporting built HTML. */
|
|
26
|
+
export interface ImgSrcCheckOptions {
|
|
27
|
+
/** Absolute or relative build output directory. */
|
|
28
|
+
outDir: string;
|
|
29
|
+
/** URL base configured for the build (for example `/docs/`). */
|
|
30
|
+
base?: string;
|
|
31
|
+
/** Broken-reference behavior. Defaults to `warn`. */
|
|
32
|
+
onBroken?: ImgSrcCheckSeverity;
|
|
33
|
+
/** zfb's logger. A missing logger makes the scan quiet. */
|
|
34
|
+
logger?: ImgSrcCheckLogger;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Parse rendered HTML and return the `src` values on real `<img>` elements.
|
|
38
|
+
*
|
|
39
|
+
* parse5 performs HTML tokenisation (including comment/script handling) and
|
|
40
|
+
* decodes character references in attribute values. Walking its element tree
|
|
41
|
+
* therefore avoids false positives from comments, script bodies, and escaped
|
|
42
|
+
* code examples without trying to emulate an HTML parser with regular
|
|
43
|
+
* expressions.
|
|
44
|
+
*/
|
|
45
|
+
export declare function extractImgSrcs(html: string): string[];
|
|
46
|
+
/** Normalize a zfb base to a slash-delimited URL prefix. */
|
|
47
|
+
export declare function normalizeImgSrcBase(base: string | undefined): string;
|
|
48
|
+
/**
|
|
49
|
+
* Walk every built HTML file and validate its site-absolute image sources.
|
|
50
|
+
*
|
|
51
|
+
* This is intentionally synchronous: zfb's postBuild hook is async-compatible
|
|
52
|
+
* but the operation is a deterministic local filesystem walk, and a sync
|
|
53
|
+
* implementation keeps result ordering stable for warnings and tests.
|
|
54
|
+
*/
|
|
55
|
+
export declare function scanImgSrcs(options: ImgSrcCheckOptions): ImgSrcCheckResult;
|
|
56
|
+
/** Format one warning in a stable, page-first form suitable for zfb output. */
|
|
57
|
+
export declare function formatBrokenImgSrc(reference: BrokenImgSrc): string;
|
|
58
|
+
/**
|
|
59
|
+
* Run the scanner and report every broken occurrence. Error mode reports the
|
|
60
|
+
* complete set first, then throws so zfb fails the build with all diagnostics.
|
|
61
|
+
*/
|
|
62
|
+
export declare function checkImgSrcs(options: ImgSrcCheckOptions): ImgSrcCheckResult;
|
|
63
|
+
export declare const extractImageSources: typeof extractImgSrcs;
|
|
64
|
+
export declare const scanImageSources: typeof scanImgSrcs;
|
|
65
|
+
export declare const checkImageSources: typeof checkImgSrcs;
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { realpathSync, readdirSync, readFileSync, statSync } from "node:fs";
|
|
2
|
+
import { relative, resolve, sep } from "node:path";
|
|
3
|
+
import { parse } from "parse5";
|
|
4
|
+
const HTML_NAMESPACE = "http://www.w3.org/1999/xhtml";
|
|
5
|
+
const SCHEME_RE = /^[A-Za-z][A-Za-z0-9+.-]*:/u;
|
|
6
|
+
function extractImgSrcs(html) {
|
|
7
|
+
const document = parse(html);
|
|
8
|
+
const srcs = [];
|
|
9
|
+
const visit = (node) => {
|
|
10
|
+
if (!("tagName" in node)) return;
|
|
11
|
+
const element = node;
|
|
12
|
+
if (element.tagName.toLowerCase() === "img" && element.namespaceURI === HTML_NAMESPACE) {
|
|
13
|
+
const src = element.attrs.find((attribute) => attribute.name.toLowerCase() === "src")?.value;
|
|
14
|
+
if (src !== void 0) srcs.push(src);
|
|
15
|
+
}
|
|
16
|
+
for (const child of element.childNodes) visit(child);
|
|
17
|
+
if (element.nodeName === "template") {
|
|
18
|
+
const template = element;
|
|
19
|
+
for (const child of template.content.childNodes) visit(child);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
for (const child of document.childNodes) visit(child);
|
|
23
|
+
return srcs;
|
|
24
|
+
}
|
|
25
|
+
function normalizeImgSrcBase(base) {
|
|
26
|
+
if (!base || base === "/") return "/";
|
|
27
|
+
const withLeadingSlash = base.startsWith("/") ? base : `/${base}`;
|
|
28
|
+
const segments = withLeadingSlash.split("/").filter(Boolean);
|
|
29
|
+
return segments.length === 0 ? "/" : `/${segments.join("/")}/`;
|
|
30
|
+
}
|
|
31
|
+
function isWithin(root, candidate) {
|
|
32
|
+
const rel = relative(root, candidate);
|
|
33
|
+
return rel === "" || rel !== ".." && !rel.startsWith(`..${sep}`) && !rel.startsWith(sep);
|
|
34
|
+
}
|
|
35
|
+
function stripQueryAndFragment(src) {
|
|
36
|
+
const query = src.indexOf("?");
|
|
37
|
+
const fragment = src.indexOf("#");
|
|
38
|
+
const end = [query, fragment].filter((index) => index >= 0).sort((a, b) => a - b)[0];
|
|
39
|
+
return end === void 0 ? src : src.slice(0, end);
|
|
40
|
+
}
|
|
41
|
+
function resolveImgSrc(src, outDir, base, canonicalOutDir) {
|
|
42
|
+
const value = src.trim();
|
|
43
|
+
if (!value.startsWith("/") || value.startsWith("//") || SCHEME_RE.test(value)) {
|
|
44
|
+
return { kind: "skip" };
|
|
45
|
+
}
|
|
46
|
+
const pathPart = stripQueryAndFragment(value);
|
|
47
|
+
let decodedPath;
|
|
48
|
+
try {
|
|
49
|
+
decodedPath = decodeURIComponent(pathPart);
|
|
50
|
+
} catch {
|
|
51
|
+
return { kind: "broken", reason: "malformed percent escape" };
|
|
52
|
+
}
|
|
53
|
+
if (decodedPath.includes("\0")) {
|
|
54
|
+
return { kind: "broken", reason: "invalid path" };
|
|
55
|
+
}
|
|
56
|
+
let relativeUrlPath;
|
|
57
|
+
if (base === "/") {
|
|
58
|
+
relativeUrlPath = decodedPath.slice(1).replace(/^\/+/, "");
|
|
59
|
+
} else {
|
|
60
|
+
const baseWithoutTrailingSlash = base.slice(0, -1);
|
|
61
|
+
if (decodedPath === baseWithoutTrailingSlash || decodedPath.startsWith(base)) {
|
|
62
|
+
relativeUrlPath = decodedPath.slice(base.length).replace(/^\/+/, "");
|
|
63
|
+
} else {
|
|
64
|
+
return { kind: "broken", reason: `outside configured base ${base}` };
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
const candidate = resolve(outDir, relativeUrlPath);
|
|
68
|
+
if (!isWithin(outDir, candidate)) {
|
|
69
|
+
return { kind: "broken", reason: "resolves outside the build output directory" };
|
|
70
|
+
}
|
|
71
|
+
let stat;
|
|
72
|
+
try {
|
|
73
|
+
stat = statSync(candidate);
|
|
74
|
+
} catch (error) {
|
|
75
|
+
const code = error.code;
|
|
76
|
+
if (code === "ENOENT" || code === "ENOTDIR") {
|
|
77
|
+
return { kind: "broken", reason: "file does not exist" };
|
|
78
|
+
}
|
|
79
|
+
throw error;
|
|
80
|
+
}
|
|
81
|
+
if (!stat.isFile()) return { kind: "broken", reason: "path is not a file" };
|
|
82
|
+
try {
|
|
83
|
+
if (!isWithin(canonicalOutDir, realpathSync(candidate))) {
|
|
84
|
+
return { kind: "broken", reason: "resolves outside the build output directory" };
|
|
85
|
+
}
|
|
86
|
+
} catch (error) {
|
|
87
|
+
const code = error.code;
|
|
88
|
+
if (code === "ENOENT" || code === "ENOTDIR") {
|
|
89
|
+
return { kind: "broken", reason: "file does not exist" };
|
|
90
|
+
}
|
|
91
|
+
throw error;
|
|
92
|
+
}
|
|
93
|
+
return { kind: "path", path: candidate };
|
|
94
|
+
}
|
|
95
|
+
function listHtmlFiles(outDir) {
|
|
96
|
+
const files = [];
|
|
97
|
+
if (!statSync(outDir).isDirectory()) return files;
|
|
98
|
+
const walk = (dir) => {
|
|
99
|
+
const entries = readdirSync(dir, { withFileTypes: true });
|
|
100
|
+
entries.sort((a, b) => a.name.localeCompare(b.name, "en"));
|
|
101
|
+
for (const entry of entries) {
|
|
102
|
+
const filePath = resolve(dir, entry.name);
|
|
103
|
+
if (entry.isDirectory()) {
|
|
104
|
+
walk(filePath);
|
|
105
|
+
} else if (entry.isFile() && entry.name.toLowerCase().endsWith(".html")) {
|
|
106
|
+
files.push(filePath);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
walk(outDir);
|
|
111
|
+
return files;
|
|
112
|
+
}
|
|
113
|
+
function scanImgSrcs(options) {
|
|
114
|
+
const outDir = resolve(options.outDir);
|
|
115
|
+
let canonicalOutDir;
|
|
116
|
+
try {
|
|
117
|
+
canonicalOutDir = realpathSync(outDir);
|
|
118
|
+
} catch (error) {
|
|
119
|
+
const code = error.code;
|
|
120
|
+
if (code === "ENOENT" || code === "ENOTDIR") {
|
|
121
|
+
return { htmlFileCount: 0, imageCount: 0, broken: [] };
|
|
122
|
+
}
|
|
123
|
+
throw error;
|
|
124
|
+
}
|
|
125
|
+
const base = normalizeImgSrcBase(options.base);
|
|
126
|
+
const htmlFiles = listHtmlFiles(outDir);
|
|
127
|
+
const broken = [];
|
|
128
|
+
let imageCount = 0;
|
|
129
|
+
for (const htmlFile of htmlFiles) {
|
|
130
|
+
const pagePath = relative(outDir, htmlFile).split(sep).join("/");
|
|
131
|
+
const html = readFileSync(htmlFile, "utf8");
|
|
132
|
+
if (!/<img\b/iu.test(html)) continue;
|
|
133
|
+
for (const src of extractImgSrcs(html)) {
|
|
134
|
+
const resolved = resolveImgSrc(src, outDir, base, canonicalOutDir);
|
|
135
|
+
if (resolved.kind === "skip") continue;
|
|
136
|
+
imageCount += 1;
|
|
137
|
+
if (resolved.kind === "broken") {
|
|
138
|
+
broken.push({ pagePath, src, reason: resolved.reason });
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
return { htmlFileCount: htmlFiles.length, imageCount, broken };
|
|
143
|
+
}
|
|
144
|
+
function formatBrokenImgSrc(reference) {
|
|
145
|
+
return `[img-src-check] Broken image source in ${reference.pagePath}: ${reference.src} (${reference.reason})`;
|
|
146
|
+
}
|
|
147
|
+
function checkImgSrcs(options) {
|
|
148
|
+
const severity = options.onBroken ?? "warn";
|
|
149
|
+
if (severity === "ignore") {
|
|
150
|
+
return { htmlFileCount: 0, imageCount: 0, broken: [] };
|
|
151
|
+
}
|
|
152
|
+
const result = scanImgSrcs(options);
|
|
153
|
+
if (result.broken.length === 0) return result;
|
|
154
|
+
if (options.logger) {
|
|
155
|
+
for (const reference of result.broken) options.logger.warn(formatBrokenImgSrc(reference));
|
|
156
|
+
options.logger.warn(
|
|
157
|
+
`[img-src-check] Found ${result.broken.length} broken image source${result.broken.length === 1 ? "" : "s"} in ${result.htmlFileCount} HTML file${result.htmlFileCount === 1 ? "" : "s"}.`
|
|
158
|
+
);
|
|
159
|
+
}
|
|
160
|
+
if (severity === "error") {
|
|
161
|
+
throw new Error(
|
|
162
|
+
`[img-src-check] Build contains ${result.broken.length} broken image source${result.broken.length === 1 ? "" : "s"}.`
|
|
163
|
+
);
|
|
164
|
+
}
|
|
165
|
+
return result;
|
|
166
|
+
}
|
|
167
|
+
const extractImageSources = extractImgSrcs;
|
|
168
|
+
const scanImageSources = scanImgSrcs;
|
|
169
|
+
const checkImageSources = checkImgSrcs;
|
|
170
|
+
export {
|
|
171
|
+
checkImageSources,
|
|
172
|
+
checkImgSrcs,
|
|
173
|
+
extractImageSources,
|
|
174
|
+
extractImgSrcs,
|
|
175
|
+
formatBrokenImgSrc,
|
|
176
|
+
normalizeImgSrcBase,
|
|
177
|
+
scanImageSources,
|
|
178
|
+
scanImgSrcs
|
|
179
|
+
};
|
|
@@ -3,7 +3,7 @@ export { cleanDir, ensureDir, listFiles, removeGeneratedIndex, resolveLocaleDirs
|
|
|
3
3
|
export { resolveLabel, resolveResourceLabel, type ResolveResourceLabelOptions, type ResourceTranslations, } from "./labels.js";
|
|
4
4
|
export { shouldEmitResourceLocaleRoute, type ResourceLocaleRouteOptions, } from "./locale-routes.js";
|
|
5
5
|
export { assertNotIndexReserved, escapeTitle, formatFrontmatterString, parseFrontmatter, type FrontmatterStringRenderer, type MdxFileWriter, writeCategoryIndex, writeUnlistedSubPage, } from "./mdx.js";
|
|
6
|
-
export { isRepoRelativeLink, downgradeRepoRelativeLinks } from "./links.js";
|
|
6
|
+
export { isRepoRelativeLink, rewriteMarkdownLinks, downgradeRepoRelativeLinks, } from "./links.js";
|
|
7
7
|
export { escapeMarkdownTableCell, renderCodeFence, } from "./markdown-structure.js";
|
|
8
8
|
export { EXCLUDED_DIR_NAMES, findNamedFiles } from "./walk.js";
|
|
9
9
|
export { generateSkillsCategory, getScriptDescription, getSkillFileTree, getSkillReferences, type GenerateSkillsCategoryOptions, type RenderExtraHeader, type SkillItem, type SkillReference, } from "./skills.js";
|
|
@@ -22,7 +22,11 @@ import {
|
|
|
22
22
|
writeCategoryIndex,
|
|
23
23
|
writeUnlistedSubPage
|
|
24
24
|
} from "./mdx.js";
|
|
25
|
-
import {
|
|
25
|
+
import {
|
|
26
|
+
isRepoRelativeLink,
|
|
27
|
+
rewriteMarkdownLinks,
|
|
28
|
+
downgradeRepoRelativeLinks
|
|
29
|
+
} from "./links.js";
|
|
26
30
|
import {
|
|
27
31
|
escapeMarkdownTableCell,
|
|
28
32
|
renderCodeFence
|
|
@@ -57,6 +61,7 @@ export {
|
|
|
57
61
|
resolveLabel,
|
|
58
62
|
resolveLocaleDirs,
|
|
59
63
|
resolveResourceLabel,
|
|
64
|
+
rewriteMarkdownLinks,
|
|
60
65
|
shouldEmitResourceLocaleRoute,
|
|
61
66
|
writeCategoryIndex,
|
|
62
67
|
writeGeneratedIndex,
|
|
@@ -6,6 +6,11 @@
|
|
|
6
6
|
* anchor (`#…`), or a scheme (`mailto:`, `tel:`).
|
|
7
7
|
*/
|
|
8
8
|
export declare function isRepoRelativeLink(url: string): boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Rewrite markdown link destinations outside fenced and inline code.
|
|
11
|
+
* Returning `undefined` from `rewrite` leaves that link unchanged.
|
|
12
|
+
*/
|
|
13
|
+
export declare function rewriteMarkdownLinks(content: string, rewrite: (url: string) => string | undefined): string;
|
|
9
14
|
/**
|
|
10
15
|
* Downgrade repo-relative markdown links in a mirrored `CLAUDE.md` body to
|
|
11
16
|
* inline code so they don't dangle in the flattened mirror tree (#2411).
|
|
@@ -19,4 +24,4 @@ export declare function isRepoRelativeLink(url: string): boolean;
|
|
|
19
24
|
* Code spans are preserved verbatim: a `[x](./y)` inside a fenced block or an
|
|
20
25
|
* inline-code span is literal text, not a link, and must not be rewritten.
|
|
21
26
|
*/
|
|
22
|
-
export declare function downgradeRepoRelativeLinks(content: string): string;
|
|
27
|
+
export declare function downgradeRepoRelativeLinks(content: string, keep?: (url: string) => boolean): string;
|
|
@@ -6,7 +6,7 @@ function isRepoRelativeLink(url) {
|
|
|
6
6
|
if (/^[a-zA-Z][a-zA-Z0-9+.-]*:/.test(trimmed)) return false;
|
|
7
7
|
return true;
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function transformMarkdownLinks(content, transform) {
|
|
10
10
|
const blockPlaceholder = "\0CRLINK_BLOCK_";
|
|
11
11
|
const inlinePlaceholder = "\0CRLINK_INLINE_";
|
|
12
12
|
const codeBlocks = [];
|
|
@@ -26,7 +26,7 @@ function downgradeRepoRelativeLinks(content) {
|
|
|
26
26
|
);
|
|
27
27
|
const rewritten = withInline.replace(
|
|
28
28
|
/!?\[([^\]]*)\]\(([^)]+)\)/g,
|
|
29
|
-
(match, text, url) =>
|
|
29
|
+
(match, text, url) => transform(match, text, url)
|
|
30
30
|
);
|
|
31
31
|
return rewritten.replace(
|
|
32
32
|
new RegExp(`${inlinePlaceholder}(\\d+)\0`, "g"),
|
|
@@ -38,7 +38,25 @@ function downgradeRepoRelativeLinks(content) {
|
|
|
38
38
|
(_, idx) => codeBlocks[Number(idx)] ?? ""
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
|
+
function rewriteMarkdownLinks(content, rewrite) {
|
|
42
|
+
return transformMarkdownLinks(content, (match, _text, url) => {
|
|
43
|
+
const replacement = rewrite(url);
|
|
44
|
+
if (replacement === void 0) return match;
|
|
45
|
+
const urlStart = match.length - url.length - 1;
|
|
46
|
+
if (urlStart < 0 || match.slice(urlStart, urlStart + url.length) !== url) {
|
|
47
|
+
return match;
|
|
48
|
+
}
|
|
49
|
+
return `${match.slice(0, urlStart)}${replacement}${match.slice(urlStart + url.length)}`;
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
function downgradeRepoRelativeLinks(content, keep) {
|
|
53
|
+
return transformMarkdownLinks(
|
|
54
|
+
content,
|
|
55
|
+
(match, text, url) => isRepoRelativeLink(url) && !(keep?.(url) ?? false) ? `\`${text}\`` : match
|
|
56
|
+
);
|
|
57
|
+
}
|
|
41
58
|
export {
|
|
42
59
|
downgradeRepoRelativeLinks,
|
|
43
|
-
isRepoRelativeLink
|
|
60
|
+
isRepoRelativeLink,
|
|
61
|
+
rewriteMarkdownLinks
|
|
44
62
|
};
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import fs from "node:fs";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import { escapeForMdx } from "./escape-for-mdx.js";
|
|
4
|
+
import {
|
|
5
|
+
downgradeRepoRelativeLinks,
|
|
6
|
+
rewriteMarkdownLinks
|
|
7
|
+
} from "./links.js";
|
|
4
8
|
import {
|
|
5
9
|
assertNotIndexReserved,
|
|
6
10
|
escapeTitle,
|
|
@@ -236,8 +240,26 @@ ${tree}${linkList}`;
|
|
|
236
240
|
);
|
|
237
241
|
}
|
|
238
242
|
}
|
|
239
|
-
|
|
240
|
-
|
|
243
|
+
const skillLinkRewrites = /* @__PURE__ */ new Map();
|
|
244
|
+
for (const ref of references) {
|
|
245
|
+
skillLinkRewrites.set(`references/${ref.name}.md`, `./ref-${ref.name}`);
|
|
246
|
+
}
|
|
247
|
+
for (const f of scriptFiles.filter((s) => s.endsWith(".md"))) {
|
|
248
|
+
const slug = f.replace(/\.md$/, "");
|
|
249
|
+
skillLinkRewrites.set(`scripts/${f}`, `./script-${slug}`);
|
|
250
|
+
}
|
|
251
|
+
for (const f of assetFiles.filter((a) => a.endsWith(".md"))) {
|
|
252
|
+
const slug = f.replace(/\.md$/, "");
|
|
253
|
+
skillLinkRewrites.set(`assets/${f}`, `./asset-${slug}`);
|
|
254
|
+
}
|
|
255
|
+
const emittedSkillLinks = new Set(skillLinkRewrites.values());
|
|
256
|
+
const skillBody = downgradeRepoRelativeLinks(
|
|
257
|
+
rewriteMarkdownLinks(
|
|
258
|
+
parsed.content.trim(),
|
|
259
|
+
(url) => skillLinkRewrites.get(url)
|
|
260
|
+
),
|
|
261
|
+
(url) => emittedSkillLinks.has(url)
|
|
262
|
+
);
|
|
241
263
|
const body = [
|
|
242
264
|
extraHeader,
|
|
243
265
|
fileStructureSection,
|
|
@@ -259,7 +281,7 @@ ${body}`;
|
|
|
259
281
|
writeUnlistedSubPage(
|
|
260
282
|
path.join(skillDirOut, `ref-${ref.name}.mdx`),
|
|
261
283
|
ref.title,
|
|
262
|
-
escapeForMdx(ref.content.trim()),
|
|
284
|
+
escapeForMdx(downgradeRepoRelativeLinks(ref.content.trim())),
|
|
263
285
|
renderFrontmatterString
|
|
264
286
|
);
|
|
265
287
|
}
|
|
@@ -280,7 +302,7 @@ ${body}`;
|
|
|
280
302
|
writeUnlistedSubPage(
|
|
281
303
|
path.join(skillDirOut, `script-${slug}.mdx`),
|
|
282
304
|
title,
|
|
283
|
-
escapeForMdx(raw.trim()),
|
|
305
|
+
escapeForMdx(downgradeRepoRelativeLinks(raw.trim())),
|
|
284
306
|
renderFrontmatterString
|
|
285
307
|
);
|
|
286
308
|
}
|
|
@@ -301,7 +323,7 @@ ${body}`;
|
|
|
301
323
|
writeUnlistedSubPage(
|
|
302
324
|
path.join(skillDirOut, `asset-${slug}.mdx`),
|
|
303
325
|
title,
|
|
304
|
-
escapeForMdx(raw.trim()),
|
|
326
|
+
escapeForMdx(downgradeRepoRelativeLinks(raw.trim())),
|
|
305
327
|
renderFrontmatterString
|
|
306
328
|
);
|
|
307
329
|
}
|
package/dist/preset.d.ts
CHANGED
|
@@ -119,7 +119,11 @@ export interface PresetSettings {
|
|
|
119
119
|
onBrokenMarkdownLinks: "warn" | "error" | "ignore";
|
|
120
120
|
llmsTxt?: boolean;
|
|
121
121
|
changelogs?: PresetChangelogConfig[] | false;
|
|
122
|
+
/** Metadata fields shown in the doc metadata area. */
|
|
123
|
+
docMetainfoFields?: Array<"created" | "updated" | "author">;
|
|
122
124
|
docHistory?: boolean;
|
|
125
|
+
/** Whether the doc history dropdown UI and related artifacts are enabled. */
|
|
126
|
+
docHistoryUi?: boolean;
|
|
123
127
|
docHistoryExclude?: string[];
|
|
124
128
|
/** Generate package-owned viewer pages for files under the configured asset directory. */
|
|
125
129
|
assetViewer?: boolean;
|
package/dist/preset.js
CHANGED
|
@@ -241,6 +241,7 @@ function buildPlugins(settings, routeContext) {
|
|
|
241
241
|
docsDir: settings.docsDir,
|
|
242
242
|
locales: localeRecord,
|
|
243
243
|
base: settings.base,
|
|
244
|
+
ui: settings.docHistoryUi !== false,
|
|
244
245
|
exclude: settings.docHistoryExclude ?? []
|
|
245
246
|
}
|
|
246
247
|
}
|
|
@@ -291,7 +292,18 @@ function buildPlugins(settings, routeContext) {
|
|
|
291
292
|
changelogs: settings.changelogs.map((changelog) => ({ ...changelog }))
|
|
292
293
|
}
|
|
293
294
|
}
|
|
294
|
-
] : []
|
|
295
|
+
] : [],
|
|
296
|
+
// Raw HTML image sources are checked after the build has emitted every
|
|
297
|
+
// page. Keep this as a bare descriptor so the node-backed scanner never
|
|
298
|
+
// enters the config-evaluation graph; its severity intentionally follows
|
|
299
|
+
// the existing broken-markdown-links setting.
|
|
300
|
+
{
|
|
301
|
+
name: "@takazudo/zudo-doc/plugins/img-src-check",
|
|
302
|
+
options: {
|
|
303
|
+
base: settings.base,
|
|
304
|
+
onBroken: settings.onBrokenMarkdownLinks
|
|
305
|
+
}
|
|
306
|
+
}
|
|
295
307
|
];
|
|
296
308
|
}
|
|
297
309
|
export {
|
package/dist/safelist.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* generated by gen-safelist.mjs — do not edit by hand */
|
|
2
|
-
@source inline("-domtweaker-enabled -elpath-enabled -left-[calc(var(--spacing-icon-lg)/2)] -link -mb-px -ml-hsp-sm -mt-px -noscript -open -state -state-v2 -state-v3 -state-v4 -translate-x-full 2xl:w-[24px] [&::-webkit-details-marker]:hidden [&_a]:pointer-events-auto [&_a]:text-accent [&_a]:underline [&_li]:mb-0 [&_nav]:mb-0 [asset-viewer] [data-admonition] [data-kbd-shortcut] [data-switcher-launcher] [doc-history-meta] [doc-history] [doc-layout] [llms-txt] [zudo-doc] a a2 abbr about above absent absolute accent accent- accent:accent- access across activated active actual actually add added admonition admonition- admonition-body admonition-title admonition/callout after after-breadcrumb after-content after-navigate after-sidebar after-title against agent agents ai-chat ai-chat-md ai-chat-trigger alert align align-top all allow allow-same-origin allow-scripts allowed alone already already-executed already-multiline already-picked also alt always an anchor and and/or animate-pulse animate-spin announce ansehen antialiased any anywhere anzeigen app appear application/json application/octet-stream application/pdf application/sql application/toml application/x-httpd-php application/xml application/yaml applied applies apply applying approach approval are area arg argument aria-atomic aria-busy aria-controls aria-current aria-disabled aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-orientation aria-pressed aria-selected aria-valuemax aria-valuemin aria-valuenow arm arms around arrows article as asc ascii aside aspect-[1200/630] aspect-square asset asset- asset-components assets assets/client assistant async at at-rule attach attribute attributes auf authored auto auto-logo-mask autogenerated availability available avc1 avif avis avoid await away b back backdrop:bg-bg/30 backdrop:bg-bg/80 backdrop:bg-overlay/60 backdrop:z-modal-backdrop background background-color backslashes backtick backticks baked band banner bar bare base base- base64 base:base- based bash batch be bearbeiten because becomes been before below best best-effort between bg bg-[#fff] bg-accent bg-bg bg-chat-assistant-bg bg-chat-user-bg bg-code-bg bg-fg bg-info/10 bg-info/5 bg-muted bg-overlay/30 bg-surface bg-surface/50 bg-transparent bg-warning/10 bg-warning/5 bi big bigint bin binaries bind binding blank blanks block blockquote blocks blur bodies body body-end-components body-end-scripts bold boolean bootstrap border border-accent border-b border-b-2 border-b-[5px] border-bg/30 border-collapse border-danger border-dashed border-fg border-image border-info/30 border-l border-l-0 border-l-[3px] border-left-width border-muted border-none border-r border-r-0 border-radius border-solid border-t border-t-[2px] border-t-[3px] border-transparent border-warning/30 border-width border-y both bottom-hsp-lg bottom-vsp-xl boundaries box box-border br brackets brand breadcrumb:end breadcrumb:start break-words brief brown browser browser-tab browsers browses btn budget bug build builder built built-in bundler but button buttons by bypassed byte-identical bytes c cache cached calendar-valid call callable called caller calls can cancellation candidate cannot canonical canvas caption captured captures card card-grid cards carry case-insensitive cases cat-nav- catalog catch categories category caught caution center center/contain ch chains change changed changelog changelogs changes characters check checkbox checked checker child children choose chrome chrome-font ci circle cite cjs class class-less class-mode claude claude-agents claude-commands claude-md claude-resources claude-skills cleaned cleanly clear clearing click client client-router client-side clip clobber clobbering close closed closes closing closure code code-block-sr-announce code-group code-group-panel codex codex-agents codex-agents-md codex-config codex-hooks codex-resources codex-rules codex-skills col col-resize col-span-full col-start-1 colgroup collapse collapses collapsible collision color color-scheme color-scheme-changed color-scheme-provider color-tweak colorization colors column comma command commands commas comment commercial commercial-font-denylist commit compare complete component component:github-link component:language-switcher component:search component:theme-toggle component:version-switcher composes composition compute computed concrete conf config configuration configurations configure configured conflicting conflicts confuse connect const construction consumer consumes contain container containers containing contains content content-admonition content-layer content-link content-type content-wrapper:end content-wrapper:start contents context contract control controller controls converts cookie-blocking copied copy copy-url core corners correct correctly corrupt could count covered covers cpp crashes created cross-component crumb- cs csharp css css-presence csv ctx cur current current-path/index.ts current-route currently cursor cursor-not-allowed cursor-pointer custom cycle d danger dark dash data data-active data-admonition data-asset-details-hidden data-auto-logo data-base data-close-search data-current-locale data-default-locale data-doc-date data-doc-description data-doc-metainfo data-doc-pager data-doc-unavailable-versions data-find-active data-find-match data-footer data-group-id data-header data-header-logo data-header-nav data-header-right data-home-rule data-kbd-shortcut data-lang data-language-menu data-language-switcher data-language-toggle data-loading-index data-mermaid data-mermaid-enlarge-ready data-mermaid-rendered data-mermaid-src data-nav-active data-nav-category data-nav-item data-nav-item-dropdown data-nav-more data-nav-more-menu data-nav-more-toggle data-no-results data-note-tray-group data-note-tray-row data-open-search data-pan-active data-processed data-props data-result-count-template data-search-count data-search-count-narrow data-search-dialog data-search-input data-search-placeholder data-search-results data-search-unavailable data-sidebar-hidden data-sidebar-resizer data-site-nav data-switcher-card data-switcher-launcher data-tab-btn data-tab-default data-tab-label data-tab-value data-tabs data-taglist-group data-testid data-theme data-theme-pack data-theme-pack-switcher data-theme/style data-toc-hidden data-trailing-slash data-unavailable-label data-variant data-version-banner data-version-latest data-version-menu data-version-rewire data-version-slug data-version-switcher data-version-toggle data-version-trigger-label data-zd-asset-action data-zd-asset-actions data-zd-asset-details data-zd-asset-details-chevron data-zd-asset-details-list data-zd-asset-details-toggle data-zd-asset-index-action data-zd-asset-index-empty data-zd-asset-index-page data-zd-asset-page data-zd-asset-tree data-zd-copy-url data-zd-html-preview-reservation data-zd-label-collapse data-zd-label-expand data-zd-mobile-sidebar data-zd-mobile-toc data-zd-nav-section data-zd-nosidebar data-zd-pending data-zd-props-preserve data-zd-sidebar-open-key data-zd-theme-pack-css data-zd-theme-pack-css-loading data-zd-theme-pack-loading data-zd-toc data-zd-wide data-zfb-island data-zfb-island-remount data-zfb-reload data-zfb-transition-persist date dated dd decimal decision declaration declare declared declares decoration decoration-muted deepest deepest-match default default-transition-duration defaults deferral deferred del delegated delete deliberately delimiter dependency depends depth der desc description design design-token design-token-panel design-token-trigger desktop desktop-sidebar desktop-sidebar-toggle desktop-sidebar-toggle-island desktop-toc-toggle destroys destructive detach detached details determine deterministic dev dfn diagram diagrams dialog did die dieser diff diff-line-added diff-line-content diff-line-empty diff-line-num diff-line-removed diff-row differ different dir directives directly directories directory disabled disabled:cursor-default disabled:opacity-50 disabled:pointer-events-none disc display display:none dist distance distinct div dl do doc doc-card- doc-content-band doc-history doc-history-generate doc-history-panel doc-history-trigger doc-page doc-pager doc-prose doc-title docblock docs docs- docs-v- document document-level documentation documented documents does dog dot double-registration download draft drag drawer drift drifts drop dropdown dropdown-parent dropdowns dt duplicate duration duration-150 duration-200 during dynamically e e2e each eager earlier early ease-in-out edge editing einer either eject ejectable ejectables ejected el element elements els else em embedded emit emitting empty empty/undefined en enable enabled end enhanced enhancement enlarged entire entities entries entry entrypoint env equal error escape escaped escapes even event eventually every everything-enabled exactly example exceeds excerpt excludes exclusively existing exists exit expand expected explicit export extends extra f factories failed fall fallback fallbacks falling falls false family fast favicon feature fg field fields fieldset figcaption figure file files fill fills finally find find-match find-match-active fire fires first first-paint first:mt-0 fit fix fixed fixed-width fixtures flag flash flat flex flex-1 flex-col flex-wrap flip flipping flips flow flush-left focus focus-visible:bg-accent/10 focus-visible:border-accent focus-visible:decoration-accent focus-visible:outline-2 focus-visible:outline-accent focus-visible:outline-offset-2 focus-visible:text-accent focus-visible:underline focus-within:border-accent focus-within:z-local-1 focus:border-accent focus:outline-none focus:text-accent focus:underline folder folders follows font font-bold font-face-parity font-family font-file-missing font-medium font-mono font-sans font-scale font-semibold font-size font-weight font-weight-bold font-weight-medium font-weight-normal font-weight-semibold font/woff2 fonts footer footer- for form format former found four-link fox fragment frame free freeze fresh from frontmatter frontmatter-preview frozen frozen-script fs-extra ftyp full fully function further g gains gap-[0.3em] gap-[clamp(1.5rem,3vw,4rem)] gap-hsp-2xs gap-hsp-lg gap-hsp-md gap-hsp-sm gap-hsp-xl gap-hsp-xs gap-vsp-2xs gap-vsp-3xs gap-vsp-lg gap-vsp-md gap-vsp-xs gap-x-hsp-2xs gap-x-hsp-lg gap-x-hsp-md gap-x-hsp-sm gap-x-hsp-xs gap-y-vsp-2xs gap-y-vsp-3xs gap-y-vsp-lg gap-y-vsp-md gap-y-vsp-xs gaps gate geladen2026 generate generated generation genuine geometry get getting-started gif git github github-dark github-link give go got grab gradient granular graph grid grid-cols-1 grid-cols-2 grid-cols-[auto_1fr] grid-rows-[auto_auto] grid-rows-subgrid group group-focus-visible:decoration-accent group-focus-visible:text-accent group-focus-visible:text-accent-hover group-focus-visible:text-fg group-focus-visible:underline group-focus-within:block group-hover:bg-fg group-hover:block group-hover:decoration-accent group-hover:text-accent group-hover:text-accent-hover group-hover:text-bg group-hover:text-fg group-hover:underline group-open:rotate-90 grouped grouping guard guards gz h h-[0.5rem] h-[0.625rem] h-[0.875rem] h-[1.125rem] h-[1.25rem] h-[1.575rem] h-[10rem] h-[14px] h-[1em] h-[1lh] h-[2.5rem] h-[2rem] h-[3.5rem] h-[3rem] h-[70vh] h-[90vh] h-[calc(100%-3rem)] h-[calc(100vh-3.5rem)] h-dvh h-full h-icon-lg h-icon-md h-icon-sm h-icon-xs h1 h1s h2 h22013h4 h2s h3 h4 h5 h6 half hand-copied hand-editable handle handled handler handlers happens hard-loaded hardcoded has hash-link have head head-links head-scripts header header- header-call:end header-call:start header-right heading heading-h2 heading-h3 heading-h4 heading-rule headings height here hex hi-root hidden hide hierarchical highlight highlighting history home hook hooks hooks-json horizontal host hover:bg-[color-mix(in_srgb,var(--color-surface)_80%,var(--color-fg)_20%)] hover:bg-accent-hover hover:bg-accent/10 hover:bg-danger/10 hover:bg-surface hover:border-accent hover:border-accent-hover hover:border-fg hover:decoration-accent hover:text-accent hover:text-accent-hover hover:text-fg hover:underline hover:z-local-1 hpp hr href hrefs hsp hsp-2xl hsp-2xs hsp-lg hsp-md hsp-sm hsp-xl hsp-xs html i i18n/theme. i2 i3 i4 ico icon icon-lg icon-md icon-sm icon-xs id identical idle idx if iframe ignoring image image-enlarge image-overlay-inset image/avif image/gif image/jpeg image/png image/webp image/x-icon img implementation import import/export important important-allowlist imports in inactive includes including incomplete independently index index2026 indirectly info inherit inherited ini initial initialised injected inline inline-block inline-flex inner input input-clear ins inserted-after-color-mode inserted-after-color-scheme inserted-after-site-name inserted-first insertion inset-0 inside inside-only inspect install installation installed instance instanceof instead instructions intended intent intentionally intercept interface internal interpolation into introductions invalid invalidated inverse inversion invocation invoke is is-checker island island-root iso2 iso3 iso4 iso5 iso6 isom ispe issues it italic item item- items items-baseline items-center items-end items-start iteration its itself ja java javascript jpeg jpg js json jsx jumps just justification justify-between justify-center justify-end justify-start katex kbd keep keeping keeps kept key keyboard keyboard-shortcut keydown keys keystroke keyword keywords khroma known-token-names kopieren kotlin kt label landing lands language-menu language-switcher language-toggle larger last:border-b-0 last:pb-0 later latest launch layout lazy leading leading-none leading-normal leading-relaxed leading-snug leading-tight leaf leaf- leak leaves leaving left left-0 left:calc legend legitimate length lets letter-spacing lg lg:block lg:border lg:border-fg lg:border-solid lg:flex lg:flex-1 lg:flex-col lg:flex-row lg:gap-hsp-xl lg:grid-cols-3 lg:grid-cols-[repeat(auto-fit,minmax(12rem,1fr))] lg:h-[90vh] lg:hidden lg:justify-start lg:m-auto lg:max-h-[90vh] lg:max-w-[52.5rem] lg:ml-[var(--zd-sidebar-w)] lg:pr-hsp-sm lg:pt-vsp-2xl lg:px-hsp-2xl lg:py-vsp-2xl lg:text-left lg:w-[90vw] lg:w-[clamp(16rem,25%,22rem)] li li2 library license lifecycle light light/dark like likely line line-height line/statement lines linger link link- links list list-disc list-none listener lists literal literally literals live lives llms llms-txt load loaded loader loading local local-1 local-2 local-3 locale locales log logo long longer longest-match look loses lostpointercapture lower luminance m m-0 m-auto m10 m14 m16 m21 m6 machinery main major make malformed malformed-markup malicious managed manifest manual manually maps mark markdown marks match matches matching math math-display math-inline max max-h-[85vh] max-h-[90vh] max-h-full max-h-none max-w-[16rem] max-w-[64rem] max-w-[85%] max-w-[85vw] max-w-[90vw] max-w-[calc(100vw-2rem)] max-w-[calc(100vw-var(--spacing-hsp-xl))] max-w-[clamp(50rem,75vw,90rem)] max-w-full max-w-none max-w-sm max-width maximum may mb-0 mb-vsp-2xs mb-vsp-lg mb-vsp-md mb-vsp-sm mb-vsp-xl mb-vsp-xs md mdx means measured measurement measures measuring mechanism menu mermaid message messages meta meta-knob meta-schema metadata migration min-h-0 min-h-[20rem] min-h-[44px] min-h-[60vh] min-h-[calc(100vh-3.5rem)] min-h-screen min-w-0 min-w-[10rem] min-w-[3rem] min-w-[44px] min-w-[8rem] minifier minor mirror mirroring mirrors missing mit mjs ml-[calc(var(--spacing-hsp-xl)+1px)] ml-auto ml-hsp-2xl ml-hsp-lg ml-hsp-md ml-hsp-sm ml-hsp-xl mobile mod modal modal-backdrop mode model modify module moment monospace month more most mount mounted mouseenter mouseleave mov move mp4 mp41 mp42 mr-[calc(var(--spacing-hsp-xl)+1px)] mr-hsp-sm ms mt-0 mt-vsp-2xl mt-vsp-2xs mt-vsp-3xs mt-vsp-lg mt-vsp-md mt-vsp-sm mt-vsp-xl mt-vsp-xs multi-changelog multiple must mutates mutation mutations muted mvhd mx-auto my-vsp-lg my-vsp-md n name named names native natural nav nav-active nav-card- nav/doc navigating navigation navigations near needed needs neither nested neutral never new newly-swapped next nicht no no-color-scheme no-data-theme-selector no-enlarge no-op no-repeat no-underline noch node node:buffer node:fs node:fs/promises node:module node:path node:url node:util nodes nofollow noindex non-draggable non-empty non-index non-light-dark non-literal non-null non-persisted nonblank none noopener noreferrer normal noscript not notable note note-tray notes now null number numeric object object-contain observe observer occurred of off offered offsets ofl-required og:description og:image og:image:alt og:image:height og:image:width og:title og:type og:url oklch ol old older omit omitting on once one only onto opacity-60 open open/close option or order original other others otherwise out outgoing outline-none over overflow overflow-auto overflow-hidden overflow-x-auto overflow-y-auto overflow-y:auto overlaps override overrides overscroll-contain overwrite own owned p p-0 p-hsp-2xs p-hsp-lg p-hsp-md p-hsp-sm p-hsp-xl pack pack-scoped package package-default package-injected package-owned packages packs padding page page-loading page-loading-overlay page-loading-spinner page-navigate-end page-title page-wide pages pages/. paint paint-and-read palette pan panel panels paragraph paren-balance-aware parent parse parse/render parse5 parsed parser parses part pass passed passes patch path paths pattern payload payload-budget pb-[50vh] pb-vsp-2xs pb-vsp-lg pb-vsp-md pb-vsp-xl pb-vsp-xs pdf peer peer-focus-visible:border-accent peer-focus-visible:text-accent peer-hover:border-accent peer-hover:text-accent pending per per-block per-link per-package per-release permanently persisted persistence php pi pick picked picks picocolors pins pipelines pl-[1.25rem] pl-hsp-lg pl-hsp-md pl-hsp-sm pl-hsp-xl place place-items-center placeholder placeholder:text-muted plain plural plus png png16 png32 pnpm point pointer pointer-events-none pointercancel pointerdown pointermove pointerup policy polite polygon polyline popover populates port position position:fixed pr-hsp-lg pr-hsp-md pr-hsp-sm pr-hsp-xl pr-hsp-xs pre pre-lowercased preact preact/compat preact/hooks preact/jsx-runtime preconnect preference prefix preload pres present preserving preview preview-swatch-color previews2026 previously primary print prior private produce produced produces producing production profiles project project-owned project-root-relative properties property props prose protocol-relative provided proxy pt-[0.15rem] pt-[2px] pt-vsp-3xs pt-vsp-md pt-vsp-sm pt-vsp-xl pt-vsp-xs ptag- public purely puts px px-hsp-2xl px-hsp-2xs px-hsp-lg px-hsp-md px-hsp-sm px-hsp-xl px-hsp-xs py py-0 py-[2px] py-[4px] py-[calc(var(--spacing-vsp-xs)+0.15rem)] py-hsp-2xs py-hsp-3xs py-hsp-sm py-hsp-xs py-vsp-2xs py-vsp-3xs py-vsp-lg py-vsp-md py-vsp-sm py-vsp-xl py-vsp-xs python q qt query question quick r radius radius-full radius-lg rail ramp range rar rather raw rb re-encode/decode re-exports re-init re-initialized re-querying re-render re-renders re-run re-running re-runs re-selects re-syncs reach reached reaches read reader reader-facing reading readings reads/rewrites real real-value received receives recorded recovers rect redefine redistribution ref- reference referenced references refetch refresh refreshes refusing regardless regenerate regenerates regex registry reinit reinits rejected rel relative release released releases reload relying rem remapped remembered remove remove/rename removed removing rename render rendered renderer renderers renders reorder repaint repair repeated repeating replace replaced replacement replaces repopulate report repository republished requested require required requires reserved resize resize-x resolve resolved resolves responded response restore restores restyle result result-click results results-area retry return returns rev-parse reveal revision revisions rewire rewrite rewrites right right- right-0 right-hsp-lg ring-2 ring-accent risking ro robots role roles root rotate-180 rotate-90 round round-trip rounded rounded-[0.75rem] rounded-bl-[0.25rem] rounded-bl-[1rem] rounded-bl-lg rounded-br-[0.25rem] rounded-br-[1rem] rounded-full rounded-lg rounded-md rounded-t-[1rem] rounds route routed router routes routes-src routes/sitemap.xml row row-span-2 row-start-1 row-start-2 rp rs rt ruby rule rules run running runs runtime rust s safe safely safer same same-locale samp sans sans-serif scale scanned scanning scheme scoped scoping score scored script script- script-eval script-evaluation script-injection scripts scroll scrollbar scrolled scrollend scrolling scss seam search search-index section section- see seed segment segments sehen select select-none selection-bg selection-fg selector self self-contained self-hosted self-start self-stretch semantic semibold semver sentinel separator serialised serialize server server-rendered session set sets setting settles setup sh shadow shadow-[0_1px_3px_color-mix(in_srgb,var(--color-fg)_8%,transparent)] shadow-lg shadow-md shadowed shape share shared sharing shell ship shipped ships short shortcut should show shown shrink-0 sidebar sidebar- sidebar-toggle-island sidebar-tree-island sidebar-w sidecar signal silently similarity simple since single single-line single-object-literal singular site site-search site-tree-nav-island sitemap- sites size size-icon-lg skill skills skipped skipping skips slash slot slug slug-dir-parity slugs sm:block sm:border sm:border-muted sm:col-start-2 sm:flex sm:flex-row sm:gap-x-hsp-xl sm:grid sm:grid-cols-2 sm:grid-cols-[minmax(0,1fr)_auto] sm:grid-cols-subgrid sm:h-auto sm:hidden sm:items-center sm:justify-between sm:max-h-[80vh] sm:max-w-[52rem] sm:mr-0 sm:mx-auto sm:my-[10vh] sm:rounded-lg sm:row-span-2 sm:row-start-1 small smol-toml smooth snapping snapshot snapshots so soft soft-nav solid some somehow sort source sources space-y-vsp-2xs space-y-vsp-lg space-y-vsp-sm spacing spacing-0 spacing-px span spans spec specifiers specify spelling splitter spread spurious sql square sr-only src stable stack stale standalone start state state- state:state- statement statements status stay staying sticky still stock stop stops stored straddles stray strict string strings strip stripe strips stroke-linecap stroke-linejoin stroke-width strong stronger stub-rendered style style-attribute styled styles stylesheet sub subagents subsequent substitute substitution subtracting success successful summary sup supply supported surface surfaces survives svg swap swapped swaps swift switcher switching symlink synchronous synchronously syntactically syntax t tab tab-item tab-panel tabindex table tablist tabpanel tabs tabs-container tabs-content tabs-nav tabular-nums tag tag- tag-item- tagged tags tags:audit take tar tbody td temp-element template temporary temporary-element terminal terms test-results tested text text-accent text-bg text-body text-caption text-center text-chat-assistant-text text-chat-user-text text-code-fg text-danger text-decoration text-display text-fg text-fg/60 text-heading text-info text-left text-micro text-muted text-muted/50 text-right text-scale-2xl text-scale-2xs text-scale-lg text-scale-md text-scale-sm text-scale-xl text-scale-xs text-small text-title text-warning text/css text/csv text/html text/javascript text/jsx text/markdown text/mdx text/plain text/tab-separated-values text/tsx text/typescript text/x-c text/x-csharp text/x-go text/x-java-source text/x-kotlin text/x-python text/x-ruby text/x-rust text/x-scss text/x-shellscript text/x-swift textarea tfoot tgz th than that the thead their them theme theme-color theme-pack theme-pack-changed theme-packs theme-packs/index.json theme-toggle theme/token then there these they this those though three threw through throw throws tighten time timeline tip title tkhd to toast toc toggle toggle- toggle-ai-chat toggle-design-token-panel toggles toggling token tokens tolerates toml too toolbar tooltip top top-0 top-[3.5rem] top-full top-hsp-2xs top-level total touches tr tracked tracking-wide tracking-wider trade-off trailing transclude transferred transition transition-[background,color,border-color] transition-[left,color] transition-[right,color] transition-colors transition-transform translate-x-0 translated translations transparent tray treats tree tree-child- tree-item- tree-top- trigger trigger:ai-chat trigger:design-token-panel triggers true truncate truncated try ts tsv tsx turn twitter:card twitter:creator twitter:description twitter:image twitter:site twitter:title two txt type typeface typeof typescript typography u ul umschalten unable unavailable unbalanced unchanged und undefined under underline underlines understand unit-tested unknown unlike unlisted unmaintained unmatchable unobserve unreadable unrelated unreleased unresolvable unresolved unsafe unset unsupported unterminated until unusable unwrapped up up-to-date update updated upper uppercase url use used useful user uses using usual utf-8 utf8 utilities utility v v2 val value value-reader values var variable variant verbatim version version- version-menu version-switcher versions vertical via video video/mp4 video/quicktime video/webm viewer viewing viewport viewports virtual:zudo-doc-asset-bodies virtual:zudo-doc-chrome-bindings virtual:zudo-doc-design-token-panel-config virtual:zudo-doc-route-context visibility visible vocabulary void von vsp vsp-2xl vsp-2xs vsp-3xs vsp-lg vsp-md vsp-sm vsp-xl vsp-xs w w-1/2 w-[0.5rem] w-[0.625rem] w-[0.875rem] w-[1.125rem] w-[1.575rem] w-[1.5rem] w-[1.75rem] w-[12rem] w-[14px] w-[16px] w-[16rem] w-[18px] w-[1em] w-[2.5rem] w-[280px] w-[2rem] w-[320px] w-[360px] w-[6.5rem] w-[90vw] w-[calc(100vw-2rem)] w-[var(--zd-sidebar-w)] w-dvw w-full w-icon-lg w-icon-md w-icon-sm w-icon-xs walk walks want warn warning was watching way wbr wbr- we webm webp website weight went were what when where whereas whether which while whitespace-nowrap whitespace-pre whole whose wide wide-gamut wider-than-scrollbar width will window wins wird wired with without word wordmark working works worktrees would wrap wrapped wrapper wrappers wrapping wraps writing written wrong wrote wurde x xl:flex xl:hidden xml y-scrollbar yaml year yet yielded yields yml you your z-dropdown z-local-1 z-modal z-modal-backdrop z-popover z-sidebar z-toolbar zd-asset-code zd-asset-details-rail zd-asset-details-toggle zd-asset-filebar zd-asset-media-grid zd-asset-media-rail zd-asset-page zd-asset-pdf zd-asset-stage zd-compact-prose zd-content zd-desktop-sidebar-toggle zd-desktop-toc-toggle zd-doc-content-band zd-enlarge-btn zd-enlarge-dialog zd-enlarge-dialog-close zd-enlargeable zd-home-copy zd-home-hero zd-home-inner zd-home-intro zd-home-links zd-home-rule zd-home-sitemap zd-html-preview-code zd-mermaid-dialog zd-mermaid-enlargeable zd-mermaid-tool-btn zd-mermaid-toolbar zd-mermaid-transform zd-mermaid-viewport zd-sidebar-content-wrapper zd-sidebar-open zd-theme-pack-dialog-title zd-toc-col zdtp zfb zfb:after-swap zfb:before-preparation zfb:before-swap zip zod zoom zudo-design-token-panel zudo-design-tokens/v3 zudo-doc zudo-doc-asset-details-visible zudo-doc-code-wrap zudo-doc-design-token-panel-modal zudo-doc-design-tokens zudo-doc-sidebar-visible zudo-doc-sidebar-width zudo-doc-theme zudo-doc-theme-pack zudo-doc-toc-visible zudo-doc-tweak zum");
|
|
2
|
+
@source inline("-domtweaker-enabled -elpath-enabled -left-[calc(var(--spacing-icon-lg)/2)] -link -mb-px -ml-hsp-sm -mt-px -noscript -open -state -state-v2 -state-v3 -state-v4 -translate-x-full 2xl:w-[24px] [&::-webkit-details-marker]:hidden [&_a]:pointer-events-auto [&_a]:text-accent [&_a]:underline [&_li]:mb-0 [&_nav]:mb-0 [asset-viewer] [data-admonition] [data-kbd-shortcut] [data-switcher-launcher] [doc-history-meta] [doc-history] [doc-layout] [img-src-check] [llms-txt] [zudo-doc] a a2 abbr about above absent absolute accent accent- accent:accent- access across activated active actual actually add added admonition admonition- admonition-body admonition-title admonition/callout after after-breadcrumb after-content after-navigate after-sidebar after-title against agent agents ai-chat ai-chat-md ai-chat-trigger alert align align-top all allow allow-same-origin allow-scripts allowed alone already already-executed already-multiline already-picked also alt always an anchor and and/or animate-pulse animate-spin announce ansehen antialiased any anywhere anzeigen app appear application/json application/octet-stream application/pdf application/sql application/toml application/x-httpd-php application/xml application/yaml applied applies apply applying approach approval are area arg argument aria-atomic aria-busy aria-controls aria-current aria-disabled aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-orientation aria-pressed aria-selected aria-valuemax aria-valuemin aria-valuenow arm arms around arrows article as asc ascii aside aspect-[1200/630] aspect-square asset asset- asset-components assets assets/client assistant async at at-rule attach attribute attributes auf author authored auto auto-logo-mask autogenerated availability available avc1 avif avis avoid await away b back backdrop:bg-bg/30 backdrop:bg-bg/80 backdrop:bg-overlay/60 backdrop:z-modal-backdrop background background-color backslashes backtick backticks baked band banner bar bare base base- base64 base:base- based bash batch be bearbeiten because becomes been before below best best-effort between bg bg-[#fff] bg-accent bg-bg bg-chat-assistant-bg bg-chat-user-bg bg-code-bg bg-fg bg-info/10 bg-info/5 bg-muted bg-overlay/30 bg-surface bg-surface/50 bg-transparent bg-warning/10 bg-warning/5 bi big bigint bin binaries bind binding blank blanks block blockquote blocks blur bodies body body-end-components body-end-scripts bold boolean bootstrap border border-accent border-b border-b-2 border-b-[5px] border-bg/30 border-collapse border-danger border-dashed border-fg border-image border-info/30 border-l border-l-0 border-l-[3px] border-left-width border-muted border-none border-r border-r-0 border-radius border-solid border-t border-t-[2px] border-t-[3px] border-transparent border-warning/30 border-width border-y both bottom-hsp-lg bottom-vsp-xl boundaries box box-border br brackets brand breadcrumb:end breadcrumb:start break-words brief broken brown browser browser-tab browsers browses btn budget bug build builder built built-in bundler but button buttons by bypassed byte-identical bytes c cache cached calendar-valid call callable called caller calls can cancellation candidate cannot canonical canvas caption captured captures card card-grid cards carry case-insensitive cases cat-nav- catalog catch categories category caught caution center center/contain ch chains change changed changelog changelogs changes characters check checkbox checked checker child children choose chrome chrome-font ci circle cite cjs class class-less class-mode claude claude-agents claude-commands claude-md claude-resources claude-skills cleaned cleanly clear clearing click client client-router client-side clip clobber clobbering close closed closes closing closure code code-block-sr-announce code-group code-group-panel codex codex-agents codex-agents-md codex-config codex-hooks codex-resources codex-rules codex-skills col col-resize col-span-full col-start-1 colgroup collapse collapses collapsible collision color color-scheme color-scheme-changed color-scheme-provider color-tweak colorization colors column comma command commands commas comment commercial commercial-font-denylist commit compare complete component component:github-link component:language-switcher component:search component:theme-toggle component:version-switcher composes composition compute computed concrete conf config configuration configurations configure configured conflicting conflicts confuse connect const construction consumer consumes contain container containers containing contains content content-admonition content-layer content-link content-type content-wrapper:end content-wrapper:start contents context contract control controller controls converts cookie-blocking copied copy copy-url core corners correct correctly corrupt could count covered covers cpp crashes created cross-component crumb- cs csharp css css-presence csv ctx cur current current-path/index.ts current-route currently cursor cursor-not-allowed cursor-pointer custom cycle d danger dark dash data data-active data-admonition data-asset-details-hidden data-auto-logo data-base data-close-search data-current-locale data-default-locale data-doc-date data-doc-description data-doc-metainfo data-doc-pager data-doc-unavailable-versions data-find-active data-find-match data-footer data-group-id data-header data-header-logo data-header-nav data-header-right data-home-rule data-kbd-shortcut data-lang data-language-menu data-language-switcher data-language-toggle data-loading-index data-mermaid data-mermaid-enlarge-ready data-mermaid-rendered data-mermaid-src data-nav-active data-nav-category data-nav-item data-nav-item-dropdown data-nav-more data-nav-more-menu data-nav-more-toggle data-no-results data-note-tray-group data-note-tray-row data-open-search data-pan-active data-processed data-props data-result-count-template data-search-count data-search-count-narrow data-search-dialog data-search-input data-search-placeholder data-search-results data-search-unavailable data-sidebar-hidden data-sidebar-resizer data-site-nav data-switcher-card data-switcher-launcher data-tab-btn data-tab-default data-tab-label data-tab-value data-tabs data-taglist-group data-testid data-theme data-theme-pack data-theme-pack-switcher data-theme/style data-toc-hidden data-trailing-slash data-unavailable-label data-variant data-version-banner data-version-latest data-version-menu data-version-rewire data-version-slug data-version-switcher data-version-toggle data-version-trigger-label data-zd-asset-action data-zd-asset-actions data-zd-asset-details data-zd-asset-details-chevron data-zd-asset-details-list data-zd-asset-details-toggle data-zd-asset-index-action data-zd-asset-index-empty data-zd-asset-index-page data-zd-asset-page data-zd-asset-tree data-zd-copy-url data-zd-html-preview-reservation data-zd-label-collapse data-zd-label-expand data-zd-mobile-sidebar data-zd-mobile-toc data-zd-nav-section data-zd-nosidebar data-zd-pending data-zd-props-preserve data-zd-sidebar-open-key data-zd-theme-pack-css data-zd-theme-pack-css-loading data-zd-theme-pack-loading data-zd-toc data-zd-wide data-zfb-island data-zfb-island-remount data-zfb-reload data-zfb-transition-persist date dated dd decimal decision declaration declare declared declares decoration decoration-muted deepest deepest-match default default-transition-duration defaults deferral deferred del delegated delete deliberately delimiter dependency depends depth der desc description design design-token design-token-panel design-token-trigger desktop desktop-sidebar desktop-sidebar-toggle desktop-sidebar-toggle-island desktop-toc-toggle destroys destructive detach detached details determine deterministic dev dfn diagram diagrams dialog did die dieser diff diff-line-added diff-line-content diff-line-empty diff-line-num diff-line-removed diff-row differ different dir directives directly directories directory disabled disabled:cursor-default disabled:opacity-50 disabled:pointer-events-none disc display display:none dist distance distinct div dl do doc doc-card- doc-content-band doc-history doc-history-generate doc-history-panel doc-history-trigger doc-page doc-pager doc-prose doc-title docblock docs docs- docs-v- document document-level documentation documented documents does dog dot double-registration download draft drag drawer drift drifts drop dropdown dropdown-parent dropdowns dt duplicate duration duration-150 duration-200 during dynamically e e2e each eager earlier early ease-in-out edge editing einer either eject ejectable ejectables ejected el element elements els else em embedded emit emitting empty empty/undefined en enable enabled end enhanced enhancement enlarged entire entities entries entry entrypoint env equal error escape escaped escapes even event eventually every everything-enabled exactly example exceeds excerpt excludes exclusively exist existing exists exit expand expected explicit export extends extra f factories failed fall fallback fallbacks falling falls false family fast favicon feature fg field fields fieldset figcaption figure file files fill fills finally find find-match find-match-active fire fires first first-paint first:mt-0 fit fix fixed fixed-width fixtures flag flash flat flex flex-1 flex-col flex-wrap flip flipping flips flow flush-left focus focus-visible:bg-accent/10 focus-visible:border-accent focus-visible:decoration-accent focus-visible:outline-2 focus-visible:outline-accent focus-visible:outline-offset-2 focus-visible:text-accent focus-visible:underline focus-within:border-accent focus-within:z-local-1 focus:border-accent focus:outline-none focus:text-accent focus:underline folder folders follows font font-bold font-face-parity font-family font-file-missing font-medium font-mono font-sans font-scale font-semibold font-size font-weight font-weight-bold font-weight-medium font-weight-normal font-weight-semibold font/woff2 fonts footer footer- for form format former found four-link fox fragment frame free freeze fresh from frontmatter frontmatter-preview frozen frozen-script fs-extra ftyp full fully function further g gains gap-[0.3em] gap-[clamp(1.5rem,3vw,4rem)] gap-hsp-2xs gap-hsp-lg gap-hsp-md gap-hsp-sm gap-hsp-xl gap-hsp-xs gap-vsp-2xs gap-vsp-3xs gap-vsp-lg gap-vsp-md gap-vsp-xs gap-x-hsp-2xs gap-x-hsp-lg gap-x-hsp-md gap-x-hsp-sm gap-x-hsp-xs gap-y-vsp-2xs gap-y-vsp-3xs gap-y-vsp-lg gap-y-vsp-md gap-y-vsp-xs gaps gate geladen2026 generate generated generation genuine geometry get getting-started gif git github github-dark github-link give go got grab gradient granular graph grid grid-cols-1 grid-cols-2 grid-cols-[auto_1fr] grid-rows-[auto_auto] grid-rows-subgrid group group-focus-visible:decoration-accent group-focus-visible:text-accent group-focus-visible:text-accent-hover group-focus-visible:text-fg group-focus-visible:underline group-focus-within:block group-hover:bg-fg group-hover:block group-hover:decoration-accent group-hover:text-accent group-hover:text-accent-hover group-hover:text-bg group-hover:text-fg group-hover:underline group-open:rotate-90 grouped grouping guard guards gz h h-[0.5rem] h-[0.625rem] h-[0.875rem] h-[1.125rem] h-[1.25rem] h-[1.575rem] h-[10rem] h-[14px] h-[1em] h-[1lh] h-[2.5rem] h-[2rem] h-[3.5rem] h-[3rem] h-[70vh] h-[90vh] h-[calc(100%-3rem)] h-[calc(100vh-3.5rem)] h-dvh h-full h-icon-lg h-icon-md h-icon-sm h-icon-xs h1 h1s h2 h22013h4 h2s h3 h4 h5 h6 half hand-copied hand-editable handle handled handler handlers happens hard-loaded hardcoded has hash-link have head head-links head-scripts header header- header-call:end header-call:start header-right heading heading-h2 heading-h3 heading-h4 heading-rule headings height here hex hi-root hidden hide hierarchical highlight highlighting history home hook hooks hooks-json horizontal host hover:bg-[color-mix(in_srgb,var(--color-surface)_80%,var(--color-fg)_20%)] hover:bg-accent-hover hover:bg-accent/10 hover:bg-danger/10 hover:bg-surface hover:border-accent hover:border-accent-hover hover:border-fg hover:decoration-accent hover:text-accent hover:text-accent-hover hover:text-fg hover:underline hover:z-local-1 hpp hr href hrefs hsp hsp-2xl hsp-2xs hsp-lg hsp-md hsp-sm hsp-xl hsp-xs html i i18n/theme. i2 i3 i4 ico icon icon-lg icon-md icon-sm icon-xs id identical idle idx if iframe ignore ignoring image image-enlarge image-overlay-inset image/avif image/gif image/jpeg image/png image/webp image/x-icon img img-src-check implementation import import/export important important-allowlist imports in inactive includes including incomplete independently index index2026 indirectly info inherit inherited ini initial initialised injected inline inline-block inline-flex inner input input-clear ins inserted-after-color-mode inserted-after-color-scheme inserted-after-site-name inserted-first insertion inset-0 inside inside-only inspect install installation installed instance instanceof instead instructions intended intent intentionally intercept interface internal interpolation into introductions invalid invalidated inverse inversion invocation invoke is is-checker island island-root iso2 iso3 iso4 iso5 iso6 isom ispe issues it italic item item- items items-baseline items-center items-end items-start iteration its itself ja java javascript jpeg jpg js json jsx jumps just justification justify-between justify-center justify-end justify-start katex kbd keep keeping keeps kept key keyboard keyboard-shortcut keydown keys keystroke keyword keywords khroma known-token-names kopieren kotlin kt label landing lands language-menu language-switcher language-toggle larger last:border-b-0 last:pb-0 later latest launch layout lazy leading leading-none leading-normal leading-relaxed leading-snug leading-tight leaf leaf- leak leaves leaving left left-0 left:calc legend legitimate length lets letter-spacing lg lg:block lg:border lg:border-fg lg:border-solid lg:flex lg:flex-1 lg:flex-col lg:flex-row lg:gap-hsp-xl lg:grid-cols-3 lg:grid-cols-[repeat(auto-fit,minmax(12rem,1fr))] lg:h-[90vh] lg:hidden lg:justify-start lg:m-auto lg:max-h-[90vh] lg:max-w-[52.5rem] lg:ml-[var(--zd-sidebar-w)] lg:pr-hsp-sm lg:pt-vsp-2xl lg:px-hsp-2xl lg:py-vsp-2xl lg:text-left lg:w-[90vw] lg:w-[clamp(16rem,25%,22rem)] li li2 library license lifecycle light light/dark like likely line line-height line/statement lines linger link link- links list list-disc list-none listener lists literal literally literals live lives llms llms-txt load loaded loader loading local local-1 local-2 local-3 locale locales log logo long longer longest-match look loses lostpointercapture lower luminance m m-0 m-auto m10 m14 m16 m21 m6 machinery main major make malformed malformed-markup malicious managed manifest manual manually maps mark markdown marks match matches matching math math-display math-inline max max-h-[85vh] max-h-[90vh] max-h-full max-h-none max-w-[16rem] max-w-[64rem] max-w-[85%] max-w-[85vw] max-w-[90vw] max-w-[calc(100vw-2rem)] max-w-[calc(100vw-var(--spacing-hsp-xl))] max-w-[clamp(50rem,75vw,90rem)] max-w-full max-w-none max-w-sm max-width maximum may mb-0 mb-vsp-2xs mb-vsp-lg mb-vsp-md mb-vsp-sm mb-vsp-xl mb-vsp-xs md mdx means measured measurement measures measuring mechanism menu mermaid message messages meta meta-knob meta-schema metadata migration min-h-0 min-h-[20rem] min-h-[44px] min-h-[60vh] min-h-[calc(100vh-3.5rem)] min-h-screen min-w-0 min-w-[10rem] min-w-[3rem] min-w-[44px] min-w-[8rem] minifier minor mirror mirroring mirrors missing mit mjs ml-[calc(var(--spacing-hsp-xl)+1px)] ml-auto ml-hsp-2xl ml-hsp-lg ml-hsp-md ml-hsp-sm ml-hsp-xl mobile mod modal modal-backdrop mode model modify module moment monospace month more most mount mounted mouseenter mouseleave mov move mp4 mp41 mp42 mr-[calc(var(--spacing-hsp-xl)+1px)] mr-hsp-sm ms mt-0 mt-vsp-2xl mt-vsp-2xs mt-vsp-3xs mt-vsp-lg mt-vsp-md mt-vsp-sm mt-vsp-xl mt-vsp-xs multi-changelog multiple must mutates mutation mutations muted mvhd mx-auto my-vsp-lg my-vsp-md n name named names native natural nav nav-active nav-card- nav/doc navigating navigation navigations near needed needs neither nested neutral never new newly-swapped next nicht no no-color-scheme no-data-theme-selector no-enlarge no-op no-repeat no-underline noch node node:buffer node:fs node:fs/promises node:module node:path node:url node:util nodes nofollow noindex non-draggable non-empty non-index non-light-dark non-literal non-null non-persisted nonblank none noopener noreferrer normal noscript not notable note note-tray notes now null number numeric object object-contain observe observer occurred of off offered offsets ofl-required og:description og:image og:image:alt og:image:height og:image:width og:title og:type og:url oklch ol old older omit omitting on once one only onto opacity-60 open open/close option or order original other others otherwise out outgoing outline-none output outside over overflow overflow-auto overflow-hidden overflow-x-auto overflow-y-auto overflow-y:auto overlaps override overrides overscroll-contain overwrite own owned p p-0 p-hsp-2xs p-hsp-lg p-hsp-md p-hsp-sm p-hsp-xl pack pack-scoped package package-default package-injected package-owned packages packs padding page page-loading page-loading-overlay page-loading-spinner page-navigate-end page-title page-wide pages pages/. paint paint-and-read palette pan panel panels paragraph paren-balance-aware parent parse parse/render parse5 parsed parser parses part pass passed passes patch path paths pattern payload payload-budget pb-[50vh] pb-vsp-2xs pb-vsp-lg pb-vsp-md pb-vsp-xl pb-vsp-xs pdf peer peer-focus-visible:border-accent peer-focus-visible:text-accent peer-hover:border-accent peer-hover:text-accent pending per per-block per-link per-package per-release percent permanently persisted persistence php pi pick picked picks picocolors pins pipelines pl-[1.25rem] pl-hsp-lg pl-hsp-md pl-hsp-sm pl-hsp-xl place place-items-center placeholder placeholder:text-muted plain plural plus png png16 png32 pnpm point pointer pointer-events-none pointercancel pointerdown pointermove pointerup policy polite polygon polyline popover populates port position position:fixed pr-hsp-lg pr-hsp-md pr-hsp-sm pr-hsp-xl pr-hsp-xs pre pre-lowercased preact preact/compat preact/hooks preact/jsx-runtime preconnect preference prefix preload pres present preserving preview preview-swatch-color previews2026 previously primary print prior private produce produced produces producing production profiles project project-owned project-root-relative properties property props prose protocol-relative provided proxy pt-[0.15rem] pt-[2px] pt-vsp-3xs pt-vsp-md pt-vsp-sm pt-vsp-xl pt-vsp-xs ptag- public purely puts px px-hsp-2xl px-hsp-2xs px-hsp-lg px-hsp-md px-hsp-sm px-hsp-xl px-hsp-xs py py-0 py-[2px] py-[4px] py-[calc(var(--spacing-vsp-xs)+0.15rem)] py-hsp-2xs py-hsp-3xs py-hsp-sm py-hsp-xs py-vsp-2xs py-vsp-3xs py-vsp-lg py-vsp-md py-vsp-sm py-vsp-xl py-vsp-xs python q qt query question quick r radius radius-full radius-lg rail ramp range rar rather raw rb re-encode/decode re-exports re-init re-initialized re-querying re-render re-renders re-run re-running re-runs re-selects re-syncs reach reached reaches read reader reader-facing reading readings reads/rewrites real real-value received receives recorded recovers rect redefine redistribution ref- reference referenced references refetch refresh refreshes refusing regardless regenerate regenerates regex registry reinit reinits rejected rel relative release released releases reload relying rem remapped remembered remove remove/rename removed removing rename render rendered renderer renderers renders reorder repaint repair repeated repeating replace replaced replacement replaces repopulate report repository republished requested require required requires reserved resize resize-x resolve resolved resolves responded response restore restores restyle result result-click results results-area retry return returns rev-parse reveal revision revisions rewire rewrite rewrites right right- right-0 right-hsp-lg ring-2 ring-accent risking ro robots role roles root rotate-180 rotate-90 round round-trip rounded rounded-[0.75rem] rounded-bl-[0.25rem] rounded-bl-[1rem] rounded-bl-lg rounded-br-[0.25rem] rounded-br-[1rem] rounded-full rounded-lg rounded-md rounded-t-[1rem] rounds route routed router routes routes-src routes/sitemap.xml row row-span-2 row-start-1 row-start-2 rp rs rt ruby rule rules run running runs runtime rust s safe safely safer same same-locale samp sans sans-serif scale scanned scanning scheme scoped scoping score scored script script- script-eval script-evaluation script-injection scripts scroll scrollbar scrolled scrollend scrolling scss seam search search-index section section- see seed segment segments sehen select select-none selection-bg selection-fg selector self self-contained self-hosted self-start self-stretch semantic semibold semver sentinel separator serialised serialize server server-rendered session set sets setting settles setup sh shadow shadow-[0_1px_3px_color-mix(in_srgb,var(--color-fg)_8%,transparent)] shadow-lg shadow-md shadowed shape share shared sharing shell ship shipped ships short shortcut should show shown shrink-0 sidebar sidebar- sidebar-toggle-island sidebar-tree-island sidebar-w sidecar signal silently similarity simple since single single-line single-object-literal singular site site-search site-tree-nav-island sitemap- sites size size-icon-lg skill skills skip skipped skipping skips slash slot slug slug-dir-parity slugs sm:block sm:border sm:border-muted sm:col-start-2 sm:flex sm:flex-row sm:gap-x-hsp-xl sm:grid sm:grid-cols-2 sm:grid-cols-[minmax(0,1fr)_auto] sm:grid-cols-subgrid sm:h-auto sm:hidden sm:items-center sm:justify-between sm:max-h-[80vh] sm:max-w-[52rem] sm:mr-0 sm:mx-auto sm:my-[10vh] sm:rounded-lg sm:row-span-2 sm:row-start-1 small smol-toml smooth snapping snapshot snapshots so soft soft-nav solid some somehow sort source sources space-y-vsp-2xs space-y-vsp-lg space-y-vsp-sm spacing spacing-0 spacing-px span spans spec specifiers specify spelling splitter spread spurious sql square sr-only src stable stack stale standalone start state state- state:state- statement statements status stay staying sticky still stock stop stops stored straddles stray strict string strings strip stripe strips stroke-linecap stroke-linejoin stroke-width strong stronger stub-rendered style style-attribute styled styles stylesheet sub subagents subsequent substitute substitution subtracting success successful summary sup supply supported surface surfaces survives svg swap swapped swaps swift switcher switching symlink synchronous synchronously syntactically syntax t tab tab-item tab-panel tabindex table tablist tabpanel tabs tabs-container tabs-content tabs-nav tabular-nums tag tag- tag-item- tagged tags tags:audit take tar tbody td temp-element template temporary temporary-element terminal terms test-results tested text text-accent text-bg text-body text-caption text-center text-chat-assistant-text text-chat-user-text text-code-fg text-danger text-decoration text-display text-fg text-fg/60 text-heading text-info text-left text-micro text-muted text-muted/50 text-right text-scale-2xl text-scale-2xs text-scale-lg text-scale-md text-scale-sm text-scale-xl text-scale-xs text-small text-title text-warning text/css text/csv text/html text/javascript text/jsx text/markdown text/mdx text/plain text/tab-separated-values text/tsx text/typescript text/x-c text/x-csharp text/x-go text/x-java-source text/x-kotlin text/x-python text/x-ruby text/x-rust text/x-scss text/x-shellscript text/x-swift textarea tfoot tgz th than that the thead their them theme theme-color theme-pack theme-pack-changed theme-packs theme-packs/index.json theme-toggle theme/token then there these they this those though three threw through throw throws tighten time timeline tip title tkhd to toast toc toggle toggle- toggle-ai-chat toggle-design-token-panel toggles toggling token tokens tolerates toml too toolbar tooltip top top-0 top-[3.5rem] top-full top-hsp-2xs top-level total touches tr tracked tracking-wide tracking-wider trade-off trailing transclude transferred transition transition-[background,color,border-color] transition-[left,color] transition-[right,color] transition-colors transition-transform translate-x-0 translated translations transparent tray treats tree tree-child- tree-item- tree-top- trigger trigger:ai-chat trigger:design-token-panel triggers true truncate truncated try ts tsv tsx turn twitter:card twitter:creator twitter:description twitter:image twitter:site twitter:title two txt type typeface typeof typescript typography u ul umschalten unable unavailable unbalanced unchanged und undefined under underline underlines understand unit-tested unknown unlike unlisted unmaintained unmatchable unobserve unreadable unrelated unreleased unresolvable unresolved unsafe unset unsupported unterminated until unusable unwrapped up up-to-date update updated upper uppercase url use used useful user uses using usual utf-8 utf8 utilities utility v v2 val value value-reader values var variable variant verbatim version version- version-menu version-switcher versions vertical via video video/mp4 video/quicktime video/webm viewer viewing viewport viewports virtual:zudo-doc-asset-bodies virtual:zudo-doc-chrome-bindings virtual:zudo-doc-design-token-panel-config virtual:zudo-doc-route-context visibility visible vocabulary void von vsp vsp-2xl vsp-2xs vsp-3xs vsp-lg vsp-md vsp-sm vsp-xl vsp-xs w w-1/2 w-[0.5rem] w-[0.625rem] w-[0.875rem] w-[1.125rem] w-[1.575rem] w-[1.5rem] w-[1.75rem] w-[12rem] w-[14px] w-[16px] w-[16rem] w-[18px] w-[1em] w-[2.5rem] w-[280px] w-[2rem] w-[320px] w-[360px] w-[6.5rem] w-[90vw] w-[calc(100vw-2rem)] w-[var(--zd-sidebar-w)] w-dvw w-full w-icon-lg w-icon-md w-icon-sm w-icon-xs walk walks want warn warning was watching way wbr wbr- we webm webp website weight went were what when where whereas whether which while whitespace-nowrap whitespace-pre whole whose wide wide-gamut wider-than-scrollbar width will window wins wird wired with without word wordmark working works worktrees would wrap wrapped wrapper wrappers wrapping wraps writing written wrong wrote wurde x xl:flex xl:hidden xml y-scrollbar yaml year yet yielded yields yml you your z-dropdown z-local-1 z-modal z-modal-backdrop z-popover z-sidebar z-toolbar zd-asset-code zd-asset-details-rail zd-asset-details-toggle zd-asset-filebar zd-asset-media-grid zd-asset-media-rail zd-asset-page zd-asset-pdf zd-asset-stage zd-compact-prose zd-content zd-desktop-sidebar-toggle zd-desktop-toc-toggle zd-doc-content-band zd-enlarge-btn zd-enlarge-dialog zd-enlarge-dialog-close zd-enlargeable zd-home-copy zd-home-hero zd-home-inner zd-home-intro zd-home-links zd-home-rule zd-home-sitemap zd-html-preview-code zd-mermaid-dialog zd-mermaid-enlargeable zd-mermaid-tool-btn zd-mermaid-toolbar zd-mermaid-transform zd-mermaid-viewport zd-sidebar-content-wrapper zd-sidebar-open zd-theme-pack-dialog-title zd-toc-col zdtp zfb zfb:after-swap zfb:before-preparation zfb:before-swap zip zod zoom zudo-design-token-panel zudo-design-tokens/v3 zudo-doc zudo-doc-asset-details-visible zudo-doc-code-wrap zudo-doc-design-token-panel-modal zudo-doc-design-tokens zudo-doc-sidebar-visible zudo-doc-sidebar-width zudo-doc-theme zudo-doc-theme-pack zudo-doc-toc-visible zudo-doc-tweak zum");
|
package/dist/settings.d.ts
CHANGED
|
@@ -389,6 +389,8 @@ export interface Settings {
|
|
|
389
389
|
head?: SiteHeadConfig;
|
|
390
390
|
sitemap: boolean;
|
|
391
391
|
docMetainfo: boolean;
|
|
392
|
+
/** Metadata fields shown in the doc metadata area; omitted uses all three. */
|
|
393
|
+
docMetainfoFields?: Array<"created" | "updated" | "author">;
|
|
392
394
|
docTags: boolean;
|
|
393
395
|
tagPlacement: TagPlacement;
|
|
394
396
|
tagGovernance: TagGovernanceMode;
|
|
@@ -418,6 +420,8 @@ export interface Settings {
|
|
|
418
420
|
dynamicPageTransition: boolean;
|
|
419
421
|
frontmatterPreview: FrontmatterPreviewConfig | false;
|
|
420
422
|
docHistory: boolean;
|
|
423
|
+
/** Whether the doc history dropdown UI and related artifacts are enabled. */
|
|
424
|
+
docHistoryUi?: boolean;
|
|
421
425
|
docHistoryExclude: string[];
|
|
422
426
|
/** Whether package-owned viewer pages are generated for public assets. */
|
|
423
427
|
assetViewer: boolean;
|
|
@@ -164,7 +164,7 @@ function CategoryNode({
|
|
|
164
164
|
{
|
|
165
165
|
type: "button",
|
|
166
166
|
onClick: toggle,
|
|
167
|
-
className: "flex-1 py-vsp-xs text-left hover:text-accent hover:underline focus:underline",
|
|
167
|
+
className: "flex-1 min-w-0 break-words py-vsp-xs text-left hover:text-accent hover:underline focus:underline",
|
|
168
168
|
children: node.label
|
|
169
169
|
}
|
|
170
170
|
),
|
|
@@ -269,7 +269,7 @@ function NoteTrayRow({
|
|
|
269
269
|
children: item.rank === void 0 ? "" : String(item.rank).padStart(width, "0")
|
|
270
270
|
}
|
|
271
271
|
),
|
|
272
|
-
/* @__PURE__ */ jsx("span", { className: "min-w-0", children: /* @__PURE__ */ jsx("span", { children: item.label }) })
|
|
272
|
+
/* @__PURE__ */ jsx("span", { className: "min-w-0 break-words", children: /* @__PURE__ */ jsx("span", { children: item.label }) })
|
|
273
273
|
]
|
|
274
274
|
}
|
|
275
275
|
);
|
|
@@ -289,11 +289,11 @@ function LeafNode({
|
|
|
289
289
|
"a",
|
|
290
290
|
{
|
|
291
291
|
href: node.href,
|
|
292
|
-
className: isRoot ? "flex items-start gap-hsp-xs py-[calc(var(--spacing-vsp-xs)+0.15rem)] pr-hsp-sm text-small font-semibold text-fg hover:text-accent hover:underline focus:underline" : `block py-vsp-2xs pr-hsp-sm ${isLast ? "pb-vsp-xs" : ""} text-small text-fg hover:text-accent hover:underline focus:underline`,
|
|
292
|
+
className: isRoot ? "flex items-start gap-hsp-xs py-[calc(var(--spacing-vsp-xs)+0.15rem)] pr-hsp-sm text-small font-semibold text-fg break-words hover:text-accent hover:underline focus:underline" : `block py-vsp-2xs pr-hsp-sm ${isLast ? "pb-vsp-xs" : ""} text-small text-fg break-words hover:text-accent hover:underline focus:underline`,
|
|
293
293
|
style: { paddingLeft },
|
|
294
294
|
children: [
|
|
295
295
|
isRoot && /* @__PURE__ */ jsx("span", { className: "flex h-[1lh] items-center", children: /* @__PURE__ */ jsx(CategoryLinkIcon, { className: "w-[18px] 2xl:w-[24px]" }) }),
|
|
296
|
-
node.label
|
|
296
|
+
isRoot ? /* @__PURE__ */ jsx("span", { className: "min-w-0", children: node.label }) : node.label
|
|
297
297
|
]
|
|
298
298
|
}
|
|
299
299
|
)
|
|
@@ -210,7 +210,7 @@ function CategoryNode({
|
|
|
210
210
|
<button
|
|
211
211
|
type="button"
|
|
212
212
|
onClick={toggle}
|
|
213
|
-
className="flex-1 py-vsp-xs text-left hover:text-accent hover:underline focus:underline"
|
|
213
|
+
className="flex-1 min-w-0 break-words py-vsp-xs text-left hover:text-accent hover:underline focus:underline"
|
|
214
214
|
>
|
|
215
215
|
{node.label}
|
|
216
216
|
</button>
|
|
@@ -356,7 +356,7 @@ function NoteTrayRow({
|
|
|
356
356
|
{item.rank === undefined ? "" : String(item.rank).padStart(width, "0")}
|
|
357
357
|
</span>
|
|
358
358
|
)}
|
|
359
|
-
<span className="min-w-0">
|
|
359
|
+
<span className="min-w-0 break-words">
|
|
360
360
|
<span>{item.label}</span>
|
|
361
361
|
</span>
|
|
362
362
|
</a>
|
|
@@ -387,8 +387,8 @@ function LeafNode({
|
|
|
387
387
|
<a
|
|
388
388
|
href={node.href}
|
|
389
389
|
className={isRoot
|
|
390
|
-
? "flex items-start gap-hsp-xs py-[calc(var(--spacing-vsp-xs)+0.15rem)] pr-hsp-sm text-small font-semibold text-fg hover:text-accent hover:underline focus:underline"
|
|
391
|
-
: `block py-vsp-2xs pr-hsp-sm ${isLast ? "pb-vsp-xs" : ""} text-small text-fg hover:text-accent hover:underline focus:underline`
|
|
390
|
+
? "flex items-start gap-hsp-xs py-[calc(var(--spacing-vsp-xs)+0.15rem)] pr-hsp-sm text-small font-semibold text-fg break-words hover:text-accent hover:underline focus:underline"
|
|
391
|
+
: `block py-vsp-2xs pr-hsp-sm ${isLast ? "pb-vsp-xs" : ""} text-small text-fg break-words hover:text-accent hover:underline focus:underline`
|
|
392
392
|
}
|
|
393
393
|
style={{ paddingLeft }}
|
|
394
394
|
>
|
|
@@ -397,7 +397,7 @@ function LeafNode({
|
|
|
397
397
|
<CategoryLinkIcon className="w-[18px] 2xl:w-[24px]" />
|
|
398
398
|
</span>
|
|
399
399
|
)}
|
|
400
|
-
{node.label}
|
|
400
|
+
{isRoot ? <span className="min-w-0">{node.label}</span> : node.label}
|
|
401
401
|
</a>
|
|
402
402
|
</div>
|
|
403
403
|
</div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takazudo/zudo-doc",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.22.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "zudo-doc framework primitives layer that sits on top of zfb's engine — sidebar, theme, TOC, breadcrumb, layouts, head injection, View Transitions, SSR-skip wrappers (per ADR-003).",
|
|
6
6
|
"license": "MIT",
|
|
@@ -191,6 +191,10 @@
|
|
|
191
191
|
"types": "./dist/plugins/theme-packs.d.ts",
|
|
192
192
|
"default": "./dist/plugins/theme-packs.js"
|
|
193
193
|
},
|
|
194
|
+
"./plugins/img-src-check": {
|
|
195
|
+
"types": "./dist/plugins/img-src-check.d.ts",
|
|
196
|
+
"default": "./dist/plugins/img-src-check.js"
|
|
197
|
+
},
|
|
194
198
|
"./content-admonition": {
|
|
195
199
|
"types": "./dist/content-admonition/index.d.ts",
|
|
196
200
|
"default": "./dist/content-admonition/index.js"
|
|
@@ -676,7 +680,7 @@
|
|
|
676
680
|
"CHANGELOG.md"
|
|
677
681
|
],
|
|
678
682
|
"peerDependencies": {
|
|
679
|
-
"@takazudo/zdtp": "^0.5.2 || ^0.6.0 || ^0.7.0",
|
|
683
|
+
"@takazudo/zdtp": "^0.5.2 || ^0.6.0 || ^0.7.0 || ^0.8.0",
|
|
680
684
|
"@takazudo/zfb": "^2.16.0",
|
|
681
685
|
"@takazudo/zfb-md-wasm": "^2.16.0",
|
|
682
686
|
"@takazudo/zfb-runtime": "^2.16.0",
|
|
@@ -730,7 +734,7 @@
|
|
|
730
734
|
"typescript": "^5.0.0",
|
|
731
735
|
"vitest": "^4.1.0",
|
|
732
736
|
"zod": "^4.3.6",
|
|
733
|
-
"@takazudo/zudo-doc-history-server": "5.
|
|
737
|
+
"@takazudo/zudo-doc-history-server": "5.22.1"
|
|
734
738
|
},
|
|
735
739
|
"scripts": {
|
|
736
740
|
"gen:search-widget-script": "node scripts/gen-search-widget-script.mjs",
|