@writedocs/generator 0.14.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/astro.config.mjs +31 -69
- package/package.json +4 -2
- package/packages/components/package.json +53 -0
- package/{src → packages/components/src}/components/Accordion.astro +2 -2
- package/{src → packages/components/src}/components/AppIcon.astro +3 -3
- package/{src → packages/components/src}/components/Callout.astro +3 -3
- package/{src → packages/components/src}/components/CodeBlock.astro +8 -27
- package/{src → packages/components/src}/components/CodeGroup.astro +9 -9
- package/{src → packages/components/src}/components/Image.astro +7 -9
- package/{src → packages/components/src}/components/compound.ts +1 -1
- package/packages/components/src/host.js +24 -0
- package/packages/components/src/index.ts +59 -0
- package/packages/components/src/integration.js +151 -0
- package/packages/components/src/lib/base-path.js +39 -0
- package/{src → packages/components/src}/lib/code-line-numbers.js +1 -1
- package/packages/components/src/lib/code-transformers.js +45 -0
- package/{src → packages/components/src}/lib/icons.js +13 -7
- package/{src → packages/components/src}/lib/shiki-code-block.js +9 -9
- package/{src → packages/components/src}/lib/site-base.ts +9 -6
- package/packages/components/src/scripts/code-block.ts +62 -0
- package/packages/components/src/styles/components.css +373 -0
- package/packages/components/src/styles/theme.css +63 -0
- package/src/cli/build.js +1 -1
- package/src/cli/rewrite-redirect-pages.js +8 -6
- package/src/cli/run-astro.js +1 -1
- package/src/cli/write-mcp-files.js +4 -1
- package/src/cli/write-redirects-file.js +4 -3
- package/src/components/ApiPlayground.astro +2 -2
- package/src/components/ApiSchemaField.astro +1 -1
- package/src/components/CopyPageMenu.astro +2 -2
- package/src/content.config.ts +21 -1
- package/src/icons/README.md +1 -1
- package/src/layout/BaseLayout.astro +45 -51
- package/src/layout/components/AnalyticsScripts.astro +2 -2
- package/src/layout/components/Breadcrumbs.astro +1 -1
- package/src/layout/components/ConsentBanner.astro +1 -1
- package/src/layout/components/MobileMenu.astro +11 -7
- package/src/layout/components/NavTree.astro +2 -2
- package/src/layout/components/Sidebar.astro +2 -2
- package/src/layout/components/SiteFooter.astro +2 -2
- package/src/layout/components/TopBar.astro +10 -6
- package/src/layout/styles/base.css +4 -37
- package/src/lib/a11y-check.js +1 -1
- package/src/lib/appearance.js +64 -0
- package/src/lib/asset-dimensions.js +2 -1
- package/src/lib/base-path.js +4 -25
- package/src/lib/bom.js +20 -0
- package/src/lib/color.js +1 -1
- package/src/lib/components-host.ts +21 -0
- package/src/lib/config-file.js +21 -8
- package/src/lib/config-schema.js +14 -7
- package/src/lib/config-schema.ts +19 -12
- package/src/lib/config.ts +4 -3
- package/src/lib/content-check.js +38 -3
- package/src/lib/content-store-prune.js +44 -0
- package/src/lib/json-schema-descriptions.js +4 -1
- package/src/lib/link-check.js +2 -2
- package/src/lib/mdx-inject-builtins.js +2 -2
- package/src/lib/mdx-inline-react.js +1 -1
- package/src/lib/mdx-title-anchor-ids.js +2 -2
- package/src/lib/mdx-unknown-components.js +1 -1
- package/src/lib/mintlify-convert.js +13 -3
- package/src/lib/openapi-reload-integration.js +1 -1
- package/src/lib/pages.js +6 -4
- package/src/lib/project-files-integration.js +1 -1
- package/src/lib/rehype-base-path.js +1 -1
- package/src/lib/wdignore-cases.json +9 -2
- package/src/lib/wdignore.js +5 -0
- package/src/lib/writedocs-legacy-convert.js +2 -2
- package/src/pages/404.astro +1 -1
- package/src/pages/[...slug].astro +53 -416
- package/src/pages/llms-full.txt.ts +6 -3
- package/src/pages/llms.txt.ts +4 -4
- package/writedocs.schema.json +23 -0
- package/src/components/index.ts +0 -62
- /package/{src → packages/components/src}/components/AccordionGroup.astro +0 -0
- /package/{src → packages/components/src}/components/Badge.astro +0 -0
- /package/{src → packages/components/src}/components/Card.astro +0 -0
- /package/{src → packages/components/src}/components/CardGroup.astro +0 -0
- /package/{src → packages/components/src}/components/Check.astro +0 -0
- /package/{src → packages/components/src}/components/Color.astro +0 -0
- /package/{src → packages/components/src}/components/ColorItem.astro +0 -0
- /package/{src → packages/components/src}/components/ColorRow.astro +0 -0
- /package/{src → packages/components/src}/components/Column.astro +0 -0
- /package/{src → packages/components/src}/components/Columns.astro +0 -0
- /package/{src → packages/components/src}/components/Danger.astro +0 -0
- /package/{src → packages/components/src}/components/Expandable.astro +0 -0
- /package/{src → packages/components/src}/components/Frame.astro +0 -0
- /package/{src → packages/components/src}/components/GitHubRepo.astro +0 -0
- /package/{src → packages/components/src}/components/Hint.astro +0 -0
- /package/{src → packages/components/src}/components/Icon.astro +0 -0
- /package/{src → packages/components/src}/components/Info.astro +0 -0
- /package/{src → packages/components/src}/components/Note.astro +0 -0
- /package/{src → packages/components/src}/components/Panel.astro +0 -0
- /package/{src → packages/components/src}/components/ParamField.astro +0 -0
- /package/{src → packages/components/src}/components/Parameter.astro +0 -0
- /package/{src → packages/components/src}/components/Prompt.astro +0 -0
- /package/{src → packages/components/src}/components/RequestExample.astro +0 -0
- /package/{src → packages/components/src}/components/ResponseExample.astro +0 -0
- /package/{src → packages/components/src}/components/ResponseField.astro +0 -0
- /package/{src → packages/components/src}/components/Searchbar.astro +0 -0
- /package/{src → packages/components/src}/components/Step.astro +0 -0
- /package/{src → packages/components/src}/components/Steps.astro +0 -0
- /package/{src → packages/components/src}/components/Tab.astro +0 -0
- /package/{src → packages/components/src}/components/Tabs.astro +0 -0
- /package/{src → packages/components/src}/components/Tile.astro +0 -0
- /package/{src → packages/components/src}/components/Tip.astro +0 -0
- /package/{src → packages/components/src}/components/Tooltip.astro +0 -0
- /package/{src → packages/components/src}/components/Tree.astro +0 -0
- /package/{src → packages/components/src}/components/TreeFile.astro +0 -0
- /package/{src → packages/components/src}/components/TreeFolder.astro +0 -0
- /package/{src → packages/components/src}/components/Update.astro +0 -0
- /package/{src → packages/components/src}/components/Video.astro +0 -0
- /package/{src → packages/components/src}/components/View.astro +0 -0
- /package/{src → packages/components/src}/components/Visibility.astro +0 -0
- /package/{src → packages/components/src}/components/Warning.astro +0 -0
- /package/{src → packages/components/src}/components/class-names.ts +0 -0
- /package/{src → packages/components/src}/lib/cli-report.js +0 -0
- /package/{src → packages/components/src}/lib/inline-markdown.js +0 -0
- /package/{src → packages/components/src}/lib/plain-text.js +0 -0
|
@@ -32,46 +32,46 @@ import Sidebar from "../layout/components/Sidebar.astro";
|
|
|
32
32
|
import TableOfContents from "../layout/components/TableOfContents.astro";
|
|
33
33
|
import Breadcrumbs from "../layout/components/Breadcrumbs.astro";
|
|
34
34
|
import CopyPageMenu from "../components/CopyPageMenu.astro";
|
|
35
|
-
import Callout from "
|
|
36
|
-
import Note from "
|
|
37
|
-
import Info from "
|
|
38
|
-
import Tip from "
|
|
39
|
-
import Warning from "
|
|
40
|
-
import Danger from "
|
|
41
|
-
import Card from "
|
|
42
|
-
import CardGroup from "
|
|
43
|
-
import Tabs from "
|
|
44
|
-
import Tab from "
|
|
45
|
-
import CodeGroup from "
|
|
46
|
-
import Accordion from "
|
|
47
|
-
import AccordionGroup from "
|
|
48
|
-
import Steps from "
|
|
49
|
-
import Step from "
|
|
50
|
-
import Hint from "
|
|
51
|
-
import Image from "
|
|
52
|
-
import Frame from "
|
|
53
|
-
import Video from "
|
|
54
|
-
import Parameter from "
|
|
55
|
-
import Expandable from "
|
|
56
|
-
import Searchbar from "
|
|
57
|
-
import Badge from "
|
|
58
|
-
import Icon from "
|
|
59
|
-
import RequestExample from "
|
|
60
|
-
import ResponseExample from "
|
|
61
|
-
import Check from "
|
|
62
|
-
import ParamField from "
|
|
63
|
-
import ResponseField from "
|
|
64
|
-
import Columns from "
|
|
65
|
-
import Column from "
|
|
66
|
-
import CodeBlock from "
|
|
67
|
-
import Tooltip from "
|
|
68
|
-
import Update from "
|
|
69
|
-
import Tile from "
|
|
70
|
-
import Panel from "
|
|
71
|
-
import Prompt from "
|
|
72
|
-
import View from "
|
|
73
|
-
import Visibility from "
|
|
74
|
-
import { Tree, FileTree, Color, GitHub } from "
|
|
35
|
+
import Callout from "../../packages/components/src/components/Callout.astro";
|
|
36
|
+
import Note from "../../packages/components/src/components/Note.astro";
|
|
37
|
+
import Info from "../../packages/components/src/components/Info.astro";
|
|
38
|
+
import Tip from "../../packages/components/src/components/Tip.astro";
|
|
39
|
+
import Warning from "../../packages/components/src/components/Warning.astro";
|
|
40
|
+
import Danger from "../../packages/components/src/components/Danger.astro";
|
|
41
|
+
import Card from "../../packages/components/src/components/Card.astro";
|
|
42
|
+
import CardGroup from "../../packages/components/src/components/CardGroup.astro";
|
|
43
|
+
import Tabs from "../../packages/components/src/components/Tabs.astro";
|
|
44
|
+
import Tab from "../../packages/components/src/components/Tab.astro";
|
|
45
|
+
import CodeGroup from "../../packages/components/src/components/CodeGroup.astro";
|
|
46
|
+
import Accordion from "../../packages/components/src/components/Accordion.astro";
|
|
47
|
+
import AccordionGroup from "../../packages/components/src/components/AccordionGroup.astro";
|
|
48
|
+
import Steps from "../../packages/components/src/components/Steps.astro";
|
|
49
|
+
import Step from "../../packages/components/src/components/Step.astro";
|
|
50
|
+
import Hint from "../../packages/components/src/components/Hint.astro";
|
|
51
|
+
import Image from "../../packages/components/src/components/Image.astro";
|
|
52
|
+
import Frame from "../../packages/components/src/components/Frame.astro";
|
|
53
|
+
import Video from "../../packages/components/src/components/Video.astro";
|
|
54
|
+
import Parameter from "../../packages/components/src/components/Parameter.astro";
|
|
55
|
+
import Expandable from "../../packages/components/src/components/Expandable.astro";
|
|
56
|
+
import Searchbar from "../../packages/components/src/components/Searchbar.astro";
|
|
57
|
+
import Badge from "../../packages/components/src/components/Badge.astro";
|
|
58
|
+
import Icon from "../../packages/components/src/components/Icon.astro";
|
|
59
|
+
import RequestExample from "../../packages/components/src/components/RequestExample.astro";
|
|
60
|
+
import ResponseExample from "../../packages/components/src/components/ResponseExample.astro";
|
|
61
|
+
import Check from "../../packages/components/src/components/Check.astro";
|
|
62
|
+
import ParamField from "../../packages/components/src/components/ParamField.astro";
|
|
63
|
+
import ResponseField from "../../packages/components/src/components/ResponseField.astro";
|
|
64
|
+
import Columns from "../../packages/components/src/components/Columns.astro";
|
|
65
|
+
import Column from "../../packages/components/src/components/Column.astro";
|
|
66
|
+
import CodeBlock from "../../packages/components/src/components/CodeBlock.astro";
|
|
67
|
+
import Tooltip from "../../packages/components/src/components/Tooltip.astro";
|
|
68
|
+
import Update from "../../packages/components/src/components/Update.astro";
|
|
69
|
+
import Tile from "../../packages/components/src/components/Tile.astro";
|
|
70
|
+
import Panel from "../../packages/components/src/components/Panel.astro";
|
|
71
|
+
import Prompt from "../../packages/components/src/components/Prompt.astro";
|
|
72
|
+
import View from "../../packages/components/src/components/View.astro";
|
|
73
|
+
import Visibility from "../../packages/components/src/components/Visibility.astro";
|
|
74
|
+
import { Tree, FileTree, Color, GitHub } from "../../packages/components/src/components/compound";
|
|
75
75
|
import ApiPlayground from "../components/ApiPlayground.astro";
|
|
76
76
|
import ApiReferencePanel from "../components/ApiReferencePanel.astro";
|
|
77
77
|
import { searchScope, sectionTrail, ALL_SCOPES } from "../lib/search-scope.js";
|
|
@@ -82,8 +82,8 @@ import { folderRedirects } from "../lib/folder-redirects.js";
|
|
|
82
82
|
import { DRAFT_BANNER_HTML } from "../lib/drafts.js";
|
|
83
83
|
import { oncePerBuild } from "../lib/build-memo.js";
|
|
84
84
|
// writedocs.json's `basePath` - the addresses below stay site addresses
|
|
85
|
-
// ("/guides/a/"); the base goes in where one is written (lib/site-base.ts).
|
|
86
|
-
import { siteHref } from "
|
|
85
|
+
// ("/guides/a/"); the base goes in where one is written (the components package's lib/site-base.ts).
|
|
86
|
+
import { siteHref } from "../../packages/components/src/lib/site-base";
|
|
87
87
|
|
|
88
88
|
// A page is hand-written (the `pages` collection, sourced from anywhere
|
|
89
89
|
// in the project - docs/ has no special status, see findAllPages() in
|
|
@@ -808,6 +808,7 @@ const components = {
|
|
|
808
808
|
|
|
809
809
|
<script>
|
|
810
810
|
import { mcpServerUrl, cursorInstallLink, vscodeInstallLink } from "../lib/mcp-links.js";
|
|
811
|
+
import { initCodeCopyButtons, initCodeExpandButtons } from "../../packages/components/src/scripts/code-block";
|
|
811
812
|
// writedocs.json's `basePath` ("" or "/docs", astro.config.mjs) - the MCP
|
|
812
813
|
// server is at the site's root, under it. Written as `__WD_BASE__ ? ... : ...`
|
|
813
814
|
// so a site without one gets the same code as before basePath existed.
|
|
@@ -837,31 +838,10 @@ const components = {
|
|
|
837
838
|
|
|
838
839
|
// Copy-to-clipboard button for every fenced (```) code block - the
|
|
839
840
|
// button itself is emitted at build time by codeBlockTransformer
|
|
840
|
-
// (astro.config.mjs /
|
|
841
|
-
// <pre> in a .wd-code-block container;
|
|
842
|
-
// behavior client-side, same
|
|
843
|
-
// addHeadingAnchors above.
|
|
844
|
-
function initCodeCopyButtons(root: ParentNode) {
|
|
845
|
-
root.querySelectorAll<HTMLButtonElement>(".wd-code-copy-btn").forEach((btn) => {
|
|
846
|
-
if (btn.dataset.wdInit) return;
|
|
847
|
-
btn.dataset.wdInit = "true";
|
|
848
|
-
btn.addEventListener("click", async () => {
|
|
849
|
-
const pre = btn.closest(".wd-code-block")?.querySelector("pre");
|
|
850
|
-
if (!pre) return;
|
|
851
|
-
try {
|
|
852
|
-
await navigator.clipboard.writeText(pre.textContent ?? "");
|
|
853
|
-
} catch {
|
|
854
|
-
return; // clipboard unavailable (e.g. insecure context) - fail silently
|
|
855
|
-
}
|
|
856
|
-
btn.textContent = "✓";
|
|
857
|
-
btn.classList.add("wd-code-copied");
|
|
858
|
-
window.setTimeout(() => {
|
|
859
|
-
btn.textContent = "⧉";
|
|
860
|
-
btn.classList.remove("wd-code-copied");
|
|
861
|
-
}, 1500);
|
|
862
|
-
});
|
|
863
|
-
});
|
|
864
|
-
}
|
|
841
|
+
// (astro.config.mjs / the components package's lib/shiki-code-block.js),
|
|
842
|
+
// wrapping each <pre> in a .wd-code-block container; the package's
|
|
843
|
+
// scripts/code-block.ts wires up the click behavior client-side, same
|
|
844
|
+
// dataset-guarded init pattern as addHeadingAnchors above.
|
|
865
845
|
initCodeCopyButtons(document);
|
|
866
846
|
document.addEventListener("astro:page-load", () => initCodeCopyButtons(document));
|
|
867
847
|
|
|
@@ -951,38 +931,8 @@ const components = {
|
|
|
951
931
|
initMcpMenu(document);
|
|
952
932
|
document.addEventListener("astro:page-load", () => initMcpMenu(document));
|
|
953
933
|
|
|
954
|
-
// Show more/less toggle for ```js expandable code blocks -
|
|
955
|
-
//
|
|
956
|
-
// button above; codeBlockTransformer only adds this button when the
|
|
957
|
-
// fence's meta string contains the `expandable` keyword.
|
|
958
|
-
function initCodeExpandButtons(root: ParentNode) {
|
|
959
|
-
root.querySelectorAll<HTMLButtonElement>(".wd-code-expand-btn").forEach((btn) => {
|
|
960
|
-
if (btn.dataset.wdInit) return;
|
|
961
|
-
btn.dataset.wdInit = "true";
|
|
962
|
-
const block = btn.closest<HTMLElement>(".wd-code-expandable");
|
|
963
|
-
if (!block) return;
|
|
964
|
-
// A block no taller than the collapsed height has nothing to show
|
|
965
|
-
// more of: .wd-code-fits drops the fade and the button. Only when
|
|
966
|
-
// it can be measured - a block in a hidden CodeGroup tab or a
|
|
967
|
-
// closed accordion has no height yet, and keeps its button.
|
|
968
|
-
const pre = block.querySelector("pre");
|
|
969
|
-
// The collapsed height shows 12 lines and hides only the bottom
|
|
970
|
-
// padding, so that padding doesn't count against fitting.
|
|
971
|
-
const padBottom = pre ? parseFloat(getComputedStyle(pre).paddingBottom) || 0 : 0;
|
|
972
|
-
if (pre && pre.clientHeight > 0 && pre.scrollHeight - padBottom <= pre.clientHeight + 1) {
|
|
973
|
-
block.classList.add("wd-code-fits");
|
|
974
|
-
return;
|
|
975
|
-
}
|
|
976
|
-
btn.addEventListener("click", () => {
|
|
977
|
-
const expanded = block.classList.toggle("wd-code-expanded");
|
|
978
|
-
btn.textContent = expanded ? "Show less" : "Show more";
|
|
979
|
-
btn.setAttribute("aria-expanded", String(expanded));
|
|
980
|
-
// Collapsing a long block can leave the reader below it: bring
|
|
981
|
-
// it back into view.
|
|
982
|
-
if (!expanded) block.scrollIntoView({ block: "nearest" });
|
|
983
|
-
});
|
|
984
|
-
});
|
|
985
|
-
}
|
|
934
|
+
// Show more/less toggle for ```js expandable code blocks - from the
|
|
935
|
+
// components package too, like the copy button above.
|
|
986
936
|
initCodeExpandButtons(document);
|
|
987
937
|
document.addEventListener("astro:page-load", () => initCodeExpandButtons(document));
|
|
988
938
|
|
|
@@ -1367,312 +1317,6 @@ const components = {
|
|
|
1367
1317
|
border-top: 1px solid var(--wd-border);
|
|
1368
1318
|
margin: 2.5rem 0;
|
|
1369
1319
|
}
|
|
1370
|
-
/* Fenced (```) code blocks - codeBlockTransformer
|
|
1371
|
-
(src/lib/shiki-code-block.js) wraps every one's <pre> in this
|
|
1372
|
-
.wd-code-block div at build time (plus an optional .wd-code-title
|
|
1373
|
-
bar, and the copy/expand buttons - see below). The card-like chrome
|
|
1374
|
-
(border/radius/background) lives on the wrapper rather than the
|
|
1375
|
-
<pre> itself so a title bar, when present, can sit flush above it
|
|
1376
|
-
inside the same box; Astro's Shiki pipeline (dual light/dark themes
|
|
1377
|
-
configured in astro.config.mjs) already supplies the <pre>'s own
|
|
1378
|
-
background/text colors via inline styles. Matches both a standalone
|
|
1379
|
-
block (direct child of .wd-article) and one nested inside
|
|
1380
|
-
<CodeGroup> (which re-targets the margin/radius itself via its own
|
|
1381
|
-
more specific `.wd-codegroup > .wd-code-block` rule in
|
|
1382
|
-
CodeGroup.astro).
|
|
1383
|
-
The layout follows Mintlify's: a frame (the wrapper - border, surface
|
|
1384
|
-
background, a 0.125rem inset) holding the title bar, and the code in
|
|
1385
|
-
its own rounded panel inside it (the <pre>, in the code theme's
|
|
1386
|
-
background). --wd-code-pad-x is the panel's side padding: the
|
|
1387
|
-
highlighted and diff lines below stretch past it by the same amount
|
|
1388
|
-
to reach the panel's edges. */
|
|
1389
|
-
.wd-code-block {
|
|
1390
|
-
--wd-code-pad-x: 1rem;
|
|
1391
|
-
position: relative;
|
|
1392
|
-
margin: 1.25rem 0 2rem;
|
|
1393
|
-
padding: 0.125rem;
|
|
1394
|
-
border: 1px solid var(--wd-border);
|
|
1395
|
-
border-radius: 1rem;
|
|
1396
|
-
background: var(--wd-surface);
|
|
1397
|
-
}
|
|
1398
|
-
.wd-article pre.astro-code {
|
|
1399
|
-
margin: 0;
|
|
1400
|
-
padding: 0.75rem var(--wd-code-pad-x);
|
|
1401
|
-
border: none;
|
|
1402
|
-
border-radius: 0.875rem;
|
|
1403
|
-
font-size: 0.875rem;
|
|
1404
|
-
line-height: 1.5rem;
|
|
1405
|
-
}
|
|
1406
|
-
/* On the frame, above the panel - room on the right for the copy
|
|
1407
|
-
button, which moves into this bar when there is one (below). */
|
|
1408
|
-
.wd-code-title {
|
|
1409
|
-
padding: 0.25rem 2.75rem 0.25rem var(--wd-code-pad-x);
|
|
1410
|
-
font-size: 0.75rem;
|
|
1411
|
-
font-weight: 500;
|
|
1412
|
-
line-height: 1.5rem;
|
|
1413
|
-
color: var(--wd-text);
|
|
1414
|
-
white-space: nowrap;
|
|
1415
|
-
overflow: hidden;
|
|
1416
|
-
text-overflow: ellipsis;
|
|
1417
|
-
}
|
|
1418
|
-
/* A fence's `icon="..."` (shiki-code-block.js) - the icon's own SVG
|
|
1419
|
-
arrives as a data URL in --wd-code-icon and is used as a mask, so it
|
|
1420
|
-
paints in the title's text color instead of the SVG's own fill. */
|
|
1421
|
-
.wd-code-title-icon {
|
|
1422
|
-
display: inline-block;
|
|
1423
|
-
width: 1em;
|
|
1424
|
-
height: 1em;
|
|
1425
|
-
margin-right: 0.45rem;
|
|
1426
|
-
vertical-align: -0.125em;
|
|
1427
|
-
background: currentColor;
|
|
1428
|
-
-webkit-mask: var(--wd-code-icon) center / contain no-repeat;
|
|
1429
|
-
mask: var(--wd-code-icon) center / contain no-repeat;
|
|
1430
|
-
}
|
|
1431
|
-
/* Without a title bar, the copy button sits in the panel's top-right
|
|
1432
|
-
corner and shows on hover or keyboard focus. */
|
|
1433
|
-
.wd-code-copy-btn {
|
|
1434
|
-
position: absolute;
|
|
1435
|
-
top: 0.625rem;
|
|
1436
|
-
right: 0.625rem;
|
|
1437
|
-
z-index: 1;
|
|
1438
|
-
display: inline-flex;
|
|
1439
|
-
align-items: center;
|
|
1440
|
-
justify-content: center;
|
|
1441
|
-
width: 1.75rem;
|
|
1442
|
-
height: 1.75rem;
|
|
1443
|
-
padding: 0;
|
|
1444
|
-
border-radius: 0.5rem;
|
|
1445
|
-
border: 1px solid var(--wd-border);
|
|
1446
|
-
background: var(--wd-surface);
|
|
1447
|
-
color: var(--wd-text-muted);
|
|
1448
|
-
font-size: 0.9rem;
|
|
1449
|
-
line-height: 1;
|
|
1450
|
-
cursor: pointer;
|
|
1451
|
-
opacity: 0;
|
|
1452
|
-
transition:
|
|
1453
|
-
opacity 0.15s ease,
|
|
1454
|
-
color 0.15s ease,
|
|
1455
|
-
background 0.15s ease,
|
|
1456
|
-
border-color 0.15s ease;
|
|
1457
|
-
}
|
|
1458
|
-
.wd-code-block:hover .wd-code-copy-btn,
|
|
1459
|
-
.wd-code-copy-btn:focus-visible {
|
|
1460
|
-
opacity: 1;
|
|
1461
|
-
}
|
|
1462
|
-
.wd-code-copy-btn:hover {
|
|
1463
|
-
color: var(--wd-text);
|
|
1464
|
-
background: var(--wd-background);
|
|
1465
|
-
}
|
|
1466
|
-
/* With a title bar, it's an always-visible icon at the bar's right end,
|
|
1467
|
-
like Mintlify's: centered in the 2rem bar, inside the frame's inset. */
|
|
1468
|
-
.wd-code-title ~ .wd-code-copy-btn {
|
|
1469
|
-
top: 0.375rem;
|
|
1470
|
-
right: 0.5rem;
|
|
1471
|
-
width: 1.5rem;
|
|
1472
|
-
height: 1.5rem;
|
|
1473
|
-
border-color: transparent;
|
|
1474
|
-
background: transparent;
|
|
1475
|
-
opacity: 1;
|
|
1476
|
-
}
|
|
1477
|
-
.wd-code-title ~ .wd-code-copy-btn:hover {
|
|
1478
|
-
background: color-mix(in srgb, var(--wd-text) 8%, transparent);
|
|
1479
|
-
}
|
|
1480
|
-
.wd-code-copy-btn.wd-code-copied {
|
|
1481
|
-
opacity: 1;
|
|
1482
|
-
color: #16a34a;
|
|
1483
|
-
border-color: #16a34a;
|
|
1484
|
-
}
|
|
1485
|
-
/* ```js wrap - opts a single block into wrapping long lines instead
|
|
1486
|
-
of horizontal-scrolling (the default). */
|
|
1487
|
-
.wd-code-wrap pre.astro-code,
|
|
1488
|
-
.wd-code-wrap pre.astro-code code {
|
|
1489
|
-
white-space: pre-wrap;
|
|
1490
|
-
word-break: break-word;
|
|
1491
|
-
overflow-x: hidden;
|
|
1492
|
-
}
|
|
1493
|
-
/* ```js lines (or showLineNumbers) - a CSS-counter gutter, no markup
|
|
1494
|
-
needed beyond a class since every line is already its own .line
|
|
1495
|
-
span. The column is --wd-code-digits characters wide (set on the
|
|
1496
|
-
wrapper by shiki-code-block.js from the line count), so the numbers
|
|
1497
|
-
start at the panel's padding and stay right-aligned past nine lines. */
|
|
1498
|
-
.wd-code-lines pre.astro-code code {
|
|
1499
|
-
counter-reset: wd-code-line;
|
|
1500
|
-
}
|
|
1501
|
-
.wd-code-lines pre.astro-code .line {
|
|
1502
|
-
counter-increment: wd-code-line;
|
|
1503
|
-
}
|
|
1504
|
-
.wd-code-lines pre.astro-code .line::before {
|
|
1505
|
-
content: counter(wd-code-line);
|
|
1506
|
-
display: inline-block;
|
|
1507
|
-
width: calc(var(--wd-code-digits, 2) * 1ch);
|
|
1508
|
-
margin-right: 1.25rem;
|
|
1509
|
-
text-align: right;
|
|
1510
|
-
color: var(--wd-text-muted);
|
|
1511
|
-
user-select: none;
|
|
1512
|
-
}
|
|
1513
|
-
/* ```js expandable - collapses to its first 12 lines (plus the panel's
|
|
1514
|
-
top padding) with a "Show more" button below; toggled via
|
|
1515
|
-
.wd-code-expanded, added by the click handler in the <script> block
|
|
1516
|
-
below. A block that already fits gets .wd-code-fits from the same
|
|
1517
|
-
script instead, and is never collapsed: no fade, no button. */
|
|
1518
|
-
.wd-code-expandable:not(.wd-code-expanded, .wd-code-fits) pre.astro-code {
|
|
1519
|
-
max-height: calc(12 * 1.5rem + 0.75rem);
|
|
1520
|
-
overflow-y: hidden;
|
|
1521
|
-
}
|
|
1522
|
-
/* The fade over the last visible lines: a strip at the end of the code,
|
|
1523
|
-
stuck to the bottom of the clipped panel (and to its left edge, if
|
|
1524
|
-
the block is scrolled sideways), three lines tall and solid over the
|
|
1525
|
-
last one, so no line shows cut in half. It's the panel's own background -
|
|
1526
|
-
`inherit` takes the <pre>'s computed color, the dark theme's in dark
|
|
1527
|
-
mode - masked from transparent to solid, so it fades into whatever
|
|
1528
|
-
code theme the site uses. */
|
|
1529
|
-
.wd-code-expandable:not(.wd-code-expanded, .wd-code-fits) pre.astro-code::after {
|
|
1530
|
-
content: "";
|
|
1531
|
-
position: sticky;
|
|
1532
|
-
/* Sticky offsets count from inside the <pre>'s padding: minus the
|
|
1533
|
-
padding puts the strip on the panel's edges, over the padding too. */
|
|
1534
|
-
bottom: -0.75rem;
|
|
1535
|
-
left: calc(-1 * var(--wd-code-pad-x));
|
|
1536
|
-
display: block;
|
|
1537
|
-
width: calc(100% + 2 * var(--wd-code-pad-x));
|
|
1538
|
-
height: 4.5rem;
|
|
1539
|
-
margin: -4.5rem calc(-1 * var(--wd-code-pad-x)) 0;
|
|
1540
|
-
background-color: inherit;
|
|
1541
|
-
-webkit-mask-image: linear-gradient(to bottom, transparent, #000 70%);
|
|
1542
|
-
mask-image: linear-gradient(to bottom, transparent, #000 70%);
|
|
1543
|
-
pointer-events: none;
|
|
1544
|
-
}
|
|
1545
|
-
.wd-code-fits .wd-code-expand-btn {
|
|
1546
|
-
display: none;
|
|
1547
|
-
}
|
|
1548
|
-
/* Below the panel, on the frame, with a chevron that turns up once
|
|
1549
|
-
the block is open. */
|
|
1550
|
-
.wd-code-expand-btn {
|
|
1551
|
-
display: flex;
|
|
1552
|
-
align-items: center;
|
|
1553
|
-
justify-content: center;
|
|
1554
|
-
gap: 0.5rem;
|
|
1555
|
-
width: 100%;
|
|
1556
|
-
padding: 0.25rem;
|
|
1557
|
-
border: none;
|
|
1558
|
-
border-radius: 0 0 0.875rem 0.875rem;
|
|
1559
|
-
background: transparent;
|
|
1560
|
-
color: var(--wd-text-muted);
|
|
1561
|
-
font-family: inherit;
|
|
1562
|
-
font-size: 0.75rem;
|
|
1563
|
-
font-weight: 500;
|
|
1564
|
-
line-height: 1.5rem;
|
|
1565
|
-
cursor: pointer;
|
|
1566
|
-
transition:
|
|
1567
|
-
color 0.15s ease,
|
|
1568
|
-
background 0.15s ease;
|
|
1569
|
-
}
|
|
1570
|
-
.wd-code-expand-btn::after {
|
|
1571
|
-
content: "";
|
|
1572
|
-
width: 0.375rem;
|
|
1573
|
-
height: 0.375rem;
|
|
1574
|
-
border-right: 1.5px solid currentColor;
|
|
1575
|
-
border-bottom: 1.5px solid currentColor;
|
|
1576
|
-
transform: translateY(-0.1rem) rotate(45deg);
|
|
1577
|
-
transition: transform 0.15s ease;
|
|
1578
|
-
}
|
|
1579
|
-
.wd-code-expanded .wd-code-expand-btn::after {
|
|
1580
|
-
transform: translateY(0.1rem) rotate(-135deg);
|
|
1581
|
-
}
|
|
1582
|
-
.wd-code-expand-btn:hover {
|
|
1583
|
-
color: var(--wd-text);
|
|
1584
|
-
background: color-mix(in srgb, var(--wd-text) 6%, transparent);
|
|
1585
|
-
}
|
|
1586
|
-
/* Line/word annotation classes added by the official
|
|
1587
|
-
@shikijs/transformers transformers configured alongside
|
|
1588
|
-
codeBlockTransformer in astro.config.mjs:
|
|
1589
|
-
.line.highlighted - transformerMetaHighlight
|
|
1590
|
-
(```js {1,3-5}) and
|
|
1591
|
-
transformerNotationHighlight
|
|
1592
|
-
(// [!code highlight]/[!code hl])
|
|
1593
|
-
.line.diff.add / .diff.remove - transformerNotationDiff
|
|
1594
|
-
(// [!code ++] / // [!code --])
|
|
1595
|
-
.line.error / .warning / .info - transformerNotationErrorLevel
|
|
1596
|
-
(// [!code error]/[!code warning])
|
|
1597
|
-
(also carries .highlighted)
|
|
1598
|
-
pre.has-focused, .line.focused - transformerNotationFocus
|
|
1599
|
-
(// [!code focus])
|
|
1600
|
-
.highlighted-word - transformerMetaWordHighlight
|
|
1601
|
-
(```js /someWord/) and
|
|
1602
|
-
transformerNotationWordHighlight
|
|
1603
|
-
(// [!code word:someWord])
|
|
1604
|
-
Every .line needs display:inline-block + full width for its
|
|
1605
|
-
highlight background to stretch edge-to-edge (by default a <span>
|
|
1606
|
-
only extends as wide as its own text) - harmless for plain lines,
|
|
1607
|
-
since inline-block with no other styling renders identically to
|
|
1608
|
-
the browser's normal inline flow here. */
|
|
1609
|
-
.astro-code .line {
|
|
1610
|
-
display: inline-block;
|
|
1611
|
-
width: 100%;
|
|
1612
|
-
}
|
|
1613
|
-
.astro-code .line.highlighted {
|
|
1614
|
-
background: color-mix(in srgb, var(--wd-primary) 12%, transparent);
|
|
1615
|
-
margin: 0 calc(-1 * var(--wd-code-pad-x, 1rem));
|
|
1616
|
-
padding: 0 var(--wd-code-pad-x, 1rem);
|
|
1617
|
-
width: calc(100% + 2 * var(--wd-code-pad-x, 1rem));
|
|
1618
|
-
}
|
|
1619
|
-
.astro-code .line.diff {
|
|
1620
|
-
margin: 0 calc(-1 * var(--wd-code-pad-x, 1rem));
|
|
1621
|
-
padding: 0 var(--wd-code-pad-x, 1rem);
|
|
1622
|
-
width: calc(100% + 2 * var(--wd-code-pad-x, 1rem));
|
|
1623
|
-
position: relative;
|
|
1624
|
-
}
|
|
1625
|
-
.astro-code .line.diff.add {
|
|
1626
|
-
background: color-mix(in srgb, #16a34a 15%, transparent);
|
|
1627
|
-
}
|
|
1628
|
-
.astro-code .line.diff.remove {
|
|
1629
|
-
background: color-mix(in srgb, #dc2626 15%, transparent);
|
|
1630
|
-
opacity: 0.85;
|
|
1631
|
-
}
|
|
1632
|
-
.astro-code .line.diff.add::before,
|
|
1633
|
-
.astro-code .line.diff.remove::before {
|
|
1634
|
-
position: absolute;
|
|
1635
|
-
left: 0.3rem;
|
|
1636
|
-
font-weight: 700;
|
|
1637
|
-
}
|
|
1638
|
-
.astro-code .line.diff.add::before {
|
|
1639
|
-
content: "+";
|
|
1640
|
-
color: #16a34a;
|
|
1641
|
-
}
|
|
1642
|
-
.astro-code .line.diff.remove::before {
|
|
1643
|
-
content: "-";
|
|
1644
|
-
color: #dc2626;
|
|
1645
|
-
}
|
|
1646
|
-
.astro-code .line.error {
|
|
1647
|
-
background: color-mix(in srgb, #dc2626 15%, transparent);
|
|
1648
|
-
}
|
|
1649
|
-
.astro-code .line.warning {
|
|
1650
|
-
background: color-mix(in srgb, #d97706 15%, transparent);
|
|
1651
|
-
}
|
|
1652
|
-
.astro-code .line.info {
|
|
1653
|
-
background: color-mix(in srgb, #2563eb 12%, transparent);
|
|
1654
|
-
}
|
|
1655
|
-
pre.astro-code.has-focused .line {
|
|
1656
|
-
opacity: 0.45;
|
|
1657
|
-
filter: blur(0.3px);
|
|
1658
|
-
transition:
|
|
1659
|
-
opacity 0.2s ease,
|
|
1660
|
-
filter 0.2s ease;
|
|
1661
|
-
}
|
|
1662
|
-
pre.astro-code.has-focused .line.focused {
|
|
1663
|
-
opacity: 1;
|
|
1664
|
-
filter: none;
|
|
1665
|
-
}
|
|
1666
|
-
pre.astro-code.has-focused:hover .line {
|
|
1667
|
-
opacity: 1;
|
|
1668
|
-
filter: none;
|
|
1669
|
-
}
|
|
1670
|
-
.astro-code .highlighted-word {
|
|
1671
|
-
background: color-mix(in srgb, var(--wd-primary) 20%, transparent);
|
|
1672
|
-
border-radius: 0.25rem;
|
|
1673
|
-
padding: 0.05rem 0.2rem;
|
|
1674
|
-
margin: -0.05rem -0.15rem;
|
|
1675
|
-
}
|
|
1676
1320
|
.wd-article img {
|
|
1677
1321
|
max-width: 100%;
|
|
1678
1322
|
border-radius: 0.5rem;
|
|
@@ -1717,19 +1361,12 @@ const components = {
|
|
|
1717
1361
|
.wd-article > h4 a[href^="#"] {
|
|
1718
1362
|
text-decoration: none;
|
|
1719
1363
|
}
|
|
1720
|
-
.wd-heading-anchor
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
color: var(--wd-text-muted);
|
|
1724
|
-
opacity: 0;
|
|
1725
|
-
text-decoration: none;
|
|
1726
|
-
font-weight: 400;
|
|
1727
|
-
transition: opacity 0.1s ease;
|
|
1728
|
-
}
|
|
1364
|
+
/* .wd-heading-anchor's own look - hidden until hover or focus - is the
|
|
1365
|
+
components package's (styles/components.css): Callout and Accordion
|
|
1366
|
+
titles have one too. */
|
|
1729
1367
|
.wd-article > h2:hover .wd-heading-anchor,
|
|
1730
1368
|
.wd-article > h3:hover .wd-heading-anchor,
|
|
1731
|
-
.wd-article > h4:hover .wd-heading-anchor
|
|
1732
|
-
.wd-heading-anchor:focus {
|
|
1369
|
+
.wd-article > h4:hover .wd-heading-anchor {
|
|
1733
1370
|
opacity: 1;
|
|
1734
1371
|
}
|
|
1735
1372
|
/* RequestExample/ResponseExample.astro's own panels, and the
|
|
@@ -6,6 +6,7 @@ import { loadDocsConfig, normalizeEntryId, findAllPages, resolveSiteRoot, fileId
|
|
|
6
6
|
import { writedocsTempDir } from '../lib/writedocs-temp-dir.js';
|
|
7
7
|
import { pageMarkdown } from '../lib/openapi-markdown';
|
|
8
8
|
import { orderByNavigation } from '../lib/llms.js';
|
|
9
|
+
import { readProjectText } from '../lib/config-file.js';
|
|
9
10
|
|
|
10
11
|
// The "everything, concatenated" half of the llms.txt pair - see
|
|
11
12
|
// llms.txt.ts (right next to this file) for the lightweight index half,
|
|
@@ -23,9 +24,11 @@ type DocsEntry = CollectionEntry<'pages'> | CollectionEntry<'generatedDocs'>;
|
|
|
23
24
|
export const GET: APIRoute = async () => {
|
|
24
25
|
const contentDir = process.env.WRITEDOCS_CONTENT_DIR || process.cwd();
|
|
25
26
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
// A hand-written llms-full.txt replaces the generated one - served
|
|
28
|
+
// without a byte order mark (lib/bom.js).
|
|
29
|
+
const custom = readProjectText(contentDir, 'llms-full.txt');
|
|
30
|
+
if (custom !== null) {
|
|
31
|
+
return new Response(custom, {
|
|
29
32
|
headers: { 'Content-Type': 'text/plain; charset=utf-8' },
|
|
30
33
|
});
|
|
31
34
|
}
|
package/src/pages/llms.txt.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import fs from 'node:fs';
|
|
2
|
-
import path from 'node:path';
|
|
3
1
|
import type { APIRoute } from 'astro';
|
|
4
2
|
import { llmsIndexFiles } from '../lib/llms-index';
|
|
3
|
+
import { readProjectText } from '../lib/config-file.js';
|
|
5
4
|
|
|
6
5
|
// A lightweight, LLM-facing index of every page on the site - the
|
|
7
6
|
// llms.txt convention (see https://llmstxt.org), also adopted by Mintlify
|
|
@@ -30,10 +29,11 @@ export const GET: APIRoute = async () => {
|
|
|
30
29
|
const files = await llmsIndexFiles();
|
|
31
30
|
// null: the project has its own llms.txt at its root, next to
|
|
32
31
|
// writedocs.json - it replaces the generated one (and its child files)
|
|
33
|
-
// outright, and a site can fall back by just deleting it.
|
|
32
|
+
// outright, and a site can fall back by just deleting it. Served without
|
|
33
|
+
// a byte order mark (lib/bom.js).
|
|
34
34
|
const text = files
|
|
35
35
|
? files.get('llms.txt')
|
|
36
|
-
:
|
|
36
|
+
: readProjectText(process.env.WRITEDOCS_CONTENT_DIR || process.cwd(), 'llms.txt');
|
|
37
37
|
return new Response(text, {
|
|
38
38
|
headers: { 'Content-Type': 'text/plain; charset=utf-8' },
|
|
39
39
|
});
|
package/writedocs.schema.json
CHANGED
|
@@ -341,6 +341,29 @@
|
|
|
341
341
|
"additionalProperties": false,
|
|
342
342
|
"description": "Background color of the site, and an optional background image.",
|
|
343
343
|
"markdownDescription": "Background color of the site, and an optional background image."
|
|
344
|
+
},
|
|
345
|
+
"appearance": {
|
|
346
|
+
"type": "object",
|
|
347
|
+
"properties": {
|
|
348
|
+
"default": {
|
|
349
|
+
"type": "string",
|
|
350
|
+
"enum": [
|
|
351
|
+
"system",
|
|
352
|
+
"light",
|
|
353
|
+
"dark"
|
|
354
|
+
],
|
|
355
|
+
"description": "The mode pages open in: \"system\" follows the reader's device setting; \"light\" or \"dark\" always starts there. Default \"system\". A reader who picks a mode with the theme toggle keeps their choice.",
|
|
356
|
+
"markdownDescription": "The mode pages open in: \"system\" follows the reader's device setting; \"light\" or \"dark\" always starts there. Default \"system\". A reader who picks a mode with the theme toggle keeps their choice."
|
|
357
|
+
},
|
|
358
|
+
"strict": {
|
|
359
|
+
"type": "boolean",
|
|
360
|
+
"description": "Hide the theme toggle, so every reader sees the `default` mode and can't switch. Default false.",
|
|
361
|
+
"markdownDescription": "Hide the theme toggle, so every reader sees the `default` mode and can't switch. Default false."
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"additionalProperties": false,
|
|
365
|
+
"description": "Light and dark mode: which one pages open in, and whether readers can switch.",
|
|
366
|
+
"markdownDescription": "Light and dark mode: which one pages open in, and whether readers can switch."
|
|
344
367
|
}
|
|
345
368
|
},
|
|
346
369
|
"description": "Colors, logo, favicon, fonts, code block themes, navbar and background.",
|
package/src/components/index.ts
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
// Re-exports every component a page's own MDX gets for free (see the
|
|
2
|
-
// `components` map passed to `<Content components={components} />` in
|
|
3
|
-
// src/pages/[...slug].astro) as a stable, importable barrel - so
|
|
4
|
-
// hand-authored content that *isn't* rendered through that same call site
|
|
5
|
-
// can still use them without reaching into the package's internals.
|
|
6
|
-
//
|
|
7
|
-
// The one real consumer today is snippets (see docs/dev/docs/snippets.mdx):
|
|
8
|
-
// a page's own MDX never needs this - Callout, Card, etc. are already in
|
|
9
|
-
// scope there with no import at all - but an MDX *snippet*, imported and
|
|
10
|
-
// rendered as `<MySnippet />` from inside that page, is its own
|
|
11
|
-
// independently-compiled MDX component with its own (empty, unless passed
|
|
12
|
-
// explicitly) components map, so a `<Callout>` used inside a snippet's own
|
|
13
|
-
// body has nothing to resolve against without an import of its own. This
|
|
14
|
-
// module is that import: `import { Callout } from 'writedocs/components'`
|
|
15
|
-
// (see the `"./components"` entry in package.json's `exports` field, which
|
|
16
|
-
// is what makes that bare specifier resolve at all - Node/Vite's package
|
|
17
|
-
// self-reference resolution, no relative path into node_modules needed).
|
|
18
|
-
//
|
|
19
|
-
// Deliberately the same set passed into <Content components={...}> and no
|
|
20
|
-
// more - AppIcon, ApiPlayground, ApiReferencePanel, CopyPageMenu etc. are
|
|
21
|
-
// internal building blocks other components/layouts use, never meant to be
|
|
22
|
-
// dropped into a page's MDX directly, so they're left out here too.
|
|
23
|
-
export { default as Callout } from './Callout.astro';
|
|
24
|
-
export { default as Note } from './Note.astro';
|
|
25
|
-
export { default as Info } from './Info.astro';
|
|
26
|
-
export { default as Tip } from './Tip.astro';
|
|
27
|
-
export { default as Warning } from './Warning.astro';
|
|
28
|
-
export { default as Danger } from './Danger.astro';
|
|
29
|
-
export { default as Card } from './Card.astro';
|
|
30
|
-
export { default as CardGroup } from './CardGroup.astro';
|
|
31
|
-
export { default as Tabs } from './Tabs.astro';
|
|
32
|
-
export { default as Tab } from './Tab.astro';
|
|
33
|
-
export { default as CodeGroup } from './CodeGroup.astro';
|
|
34
|
-
export { default as Accordion } from './Accordion.astro';
|
|
35
|
-
export { default as AccordionGroup } from './AccordionGroup.astro';
|
|
36
|
-
export { default as Steps } from './Steps.astro';
|
|
37
|
-
export { default as Step } from './Step.astro';
|
|
38
|
-
export { default as Hint } from './Hint.astro';
|
|
39
|
-
export { default as Image } from './Image.astro';
|
|
40
|
-
export { default as Frame } from './Frame.astro';
|
|
41
|
-
export { default as Video } from './Video.astro';
|
|
42
|
-
export { default as Parameter } from './Parameter.astro';
|
|
43
|
-
export { default as Expandable } from './Expandable.astro';
|
|
44
|
-
export { default as Searchbar } from './Searchbar.astro';
|
|
45
|
-
export { default as Badge } from './Badge.astro';
|
|
46
|
-
export { default as Icon } from './Icon.astro';
|
|
47
|
-
export { default as RequestExample } from './RequestExample.astro';
|
|
48
|
-
export { default as ResponseExample } from './ResponseExample.astro';
|
|
49
|
-
export { default as Check } from './Check.astro';
|
|
50
|
-
export { default as ParamField } from './ParamField.astro';
|
|
51
|
-
export { default as ResponseField } from './ResponseField.astro';
|
|
52
|
-
export { default as Columns } from './Columns.astro';
|
|
53
|
-
export { default as Column } from './Column.astro';
|
|
54
|
-
export { default as CodeBlock } from './CodeBlock.astro';
|
|
55
|
-
export { default as Tooltip } from './Tooltip.astro';
|
|
56
|
-
export { default as Update } from './Update.astro';
|
|
57
|
-
export { default as Tile } from './Tile.astro';
|
|
58
|
-
export { default as Panel } from './Panel.astro';
|
|
59
|
-
export { default as Prompt } from './Prompt.astro';
|
|
60
|
-
export { default as View } from './View.astro';
|
|
61
|
-
export { default as Visibility } from './Visibility.astro';
|
|
62
|
-
export { Tree, FileTree, Color, GitHub } from './compound';
|
|
File without changes
|