@dogsbay/ssg-cli 0.2.0-beta.169 → 0.2.0-beta.172
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/THIRD-PARTY-NOTICES.txt +17 -17
- package/chunks/asciidoc-JYFSFYLA.mjs +12 -0
- package/chunks/{build-command-OGFXZNYF.mjs → build-command-6V6AGPOG.mjs} +1 -1
- package/chunks/{check-command-KNONWTEX.mjs → check-command-D4HGVXOZ.mjs} +2 -2
- package/chunks/{chunk-MAAAXB4P.mjs → chunk-3PP2BG3D.mjs} +836 -492
- package/chunks/{chunk-UKZGJ5AP.mjs → chunk-BYGBEPJ6.mjs} +46 -1
- package/chunks/{chunk-UWS3P7LM.mjs → chunk-UD7FKVWY.mjs} +1 -1
- package/chunks/{css-build-KWNP64XI.mjs → css-build-V5U6W2S3.mjs} +26 -2
- package/chunks/{dev-M3RP4ECB.mjs → dev-FL4PALW2.mjs} +13 -5
- package/chunks/{highlight-XB2G5VI5.mjs → highlight-F5LZRTW2.mjs} +1 -1
- package/chunks/jinja-45KAG6FY.mjs +25 -0
- package/chunks/{publish-command-WLAWDIEL.mjs → publish-command-YQGB62XI.mjs} +1 -1
- package/chunks/{release-diff-G5GFYRQD.mjs → release-diff-72QRSL4O.mjs} +2 -2
- package/chunks/{serve-5DMYGIGN.mjs → serve-66FDB2G5.mjs} +7 -0
- package/cli.mjs +7 -7
- package/highlight-worker.mjs +1 -1
- package/package.json +2 -2
- package/chunks/{core-Z65HALUT.mjs → core-WLSK2LVY.mjs} +3 -3
|
@@ -10480,9 +10480,13 @@ var LOADERS = {
|
|
|
10480
10480
|
"graphql": () => import("./graphql-H4XAFKUQ.mjs"),
|
|
10481
10481
|
"nginx": () => import("./nginx-THNEASQW.mjs"),
|
|
10482
10482
|
"hcl": () => import("./hcl-OV4NBCSV.mjs"),
|
|
10483
|
-
"http": () => import("./http-POY7GQIM.mjs")
|
|
10483
|
+
"http": () => import("./http-POY7GQIM.mjs"),
|
|
10484
|
+
"asciidoc": () => import("./asciidoc-JYFSFYLA.mjs"),
|
|
10485
|
+
"jinja": () => import("./jinja-45KAG6FY.mjs")
|
|
10484
10486
|
};
|
|
10485
10487
|
var SPELLINGS = {
|
|
10488
|
+
"adoc": "asciidoc",
|
|
10489
|
+
"asciidoc": "asciidoc",
|
|
10486
10490
|
"bash": "bash",
|
|
10487
10491
|
"bat": "bat",
|
|
10488
10492
|
"batch": "bat",
|
|
@@ -10512,6 +10516,8 @@ var SPELLINGS = {
|
|
|
10512
10516
|
"ini": "ini",
|
|
10513
10517
|
"java": "java",
|
|
10514
10518
|
"javascript": "javascript",
|
|
10519
|
+
"jinja": "jinja",
|
|
10520
|
+
"jinja-html": "jinja",
|
|
10515
10521
|
"js": "javascript",
|
|
10516
10522
|
"json": "json",
|
|
10517
10523
|
"jsonc": "jsonc",
|
|
@@ -10593,9 +10599,44 @@ var LAZY_EMBEDS = {
|
|
|
10593
10599
|
"javascript": ["(\\s*):javascript", "(\\s*)%script"],
|
|
10594
10600
|
"markdown": ["(\\s*)(:markdown)"],
|
|
10595
10601
|
"ruby": ["(\\s*):ruby", "(\\s*):ruby$", "\\s*(?:((%)([-:\\w]+))|(?=[#.]))", "(\\s*):(ruby|opal)$", "(\\s*)(:ruby)", "#\\{", "!?==", "\\{", "(&|!)?([-=~])"]
|
|
10602
|
+
},
|
|
10603
|
+
"asciidoc": {
|
|
10604
|
+
"bat": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(bat(?:|ch)))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(bat(?:|ch))((\\s+|[,:?{])[^`]*)?$)"],
|
|
10605
|
+
"c": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:([ch]))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:([ch])((\\s+|[,:?{])[^`]*)?$)"],
|
|
10606
|
+
"cpp": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(c(?:pp|\\+\\+|xx)))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(c(?:pp|\\+\\+|xx))((\\s+|[,:?{])[^`]*)?$)"],
|
|
10607
|
+
"csharp": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(c(?:s|sharp|#)))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(c(?:s|sharp|#))((\\s+|[,:?{])[^`]*)?$)"],
|
|
10608
|
+
"css": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(css(?:|.erb)))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(css(?:|.erb))((\\s+|[,:?{])[^`]*)?$)"],
|
|
10609
|
+
"diff": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(patch|diff|rej))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(patch|diff|rej)((\\s+|[,:?{])[^`]*)?$)"],
|
|
10610
|
+
"docker": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:([Dd]ockerfile))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:([Dd]ockerfile)((\\s+|[,:?{])[^`]*)?$)"],
|
|
10611
|
+
"go": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(go(?:|lang)))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(go(?:|lang))((\\s+|[,:?{])[^`]*)?$)"],
|
|
10612
|
+
"groovy": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(g(?:roovy|vy)))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(g(?:roovy|vy))((\\s+|[,:?{])[^`]*)?$)"],
|
|
10613
|
+
"html": ["(?:(?<!\\\\)(\\[([^]]+?)]))?\\\\{0,2}(?<delim>\\+{2,3}|\\${2})(.*?)(\\k<delim>)", "(?<!\\\\)(pass:)([,a-z]*)(\\[)", "(?=(?>\\[(pass)([#%,.][^]]+)*]$))", "(\\+{4,})$", "(?=(?>\\[(source)[#,]\\p{blank}*(?i:(html?|shtml|xhtml|inc|tmpl|tpl))([#,][^]]+)*]$))", "(?=(?>\\[(source)[#,]\\p{blank}*(?i:(php3??|php4|php5|phpt|phtml|aw|ctp))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(html?|shtml|xhtml|inc|tmpl|tpl)((\\s+|[,:?{])[^`]*)?$)", "(|)(`{3,})\\s*(?i:(php3??|php4|php5|phpt|phtml|aw|ctp)((\\s+|[,:?{])[^`]*)?$)"],
|
|
10614
|
+
"ini": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(ini|conf))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(ini|conf)((\\s+|[,:?{])[^`]*)?$)"],
|
|
10615
|
+
"java": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(java|bsh))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(java|bsh)((\\s+|[,:?{])[^`]*)?$)"],
|
|
10616
|
+
"javascript": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(jsx??|javascript|es6|mjs|cjs|dataviewjs|\\{\\.js.+?}))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(jsx??|javascript|es6|mjs|cjs|dataviewjs|\\{\\.js.+?})((\\s+|[,:?{])[^`]*)?$)"],
|
|
10617
|
+
"json": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(json5??|sublime-settings|sublime-menu|sublime-keymap|sublime-mousemap|sublime-theme|sublime-build|sublime-project|sublime-completions))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(json5??|sublime-settings|sublime-menu|sublime-keymap|sublime-mousemap|sublime-theme|sublime-build|sublime-project|sublime-completions)((\\s+|[,:?{])[^`]*)?$)"],
|
|
10618
|
+
"jsonc": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(jsonc))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(jsonc)((\\s+|[,:?{])[^`]*)?$)"],
|
|
10619
|
+
"kotlin": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(k(?:otlin|t)))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(k(?:otlin|t))((\\s+|[,:?{])[^`]*)?$)"],
|
|
10620
|
+
"lua": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(lua))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(lua)((\\s+|[,:?{])[^`]*)?$)"],
|
|
10621
|
+
"make": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:((?:[Mm]|GNUm|OCamlM)akefile))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:((?:[Mm]|GNUm|OCamlM)akefile)((\\s+|[,:?{])[^`]*)?$)"],
|
|
10622
|
+
"markdown": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(m(?:arkdown|d)))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(m(?:arkdown|d))((\\s+|[,:?{])[^`]*)?$)"],
|
|
10623
|
+
"powershell": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(p(?:owershell|s1|sm1|sd1|wsh)))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(p(?:owershell|s1|sm1|sd1|wsh))((\\s+|[,:?{])[^`]*)?$)"],
|
|
10624
|
+
"python": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(python|py3??|rpy|pyw|cpy|SConstruct|Sconstruct|sconstruct|SConscript|gypi??|\\{\\.python.+?}))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(python|py3??|rpy|pyw|cpy|SConstruct|Sconstruct|sconstruct|SConscript|gypi??|\\{\\.python.+?})((\\s+|[,:?{])[^`]*)?$)"],
|
|
10625
|
+
"regexp": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(re))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(re)((\\s+|[,:?{])[^`]*)?$)"],
|
|
10626
|
+
"ruby": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(ruby|rbx??|rjs|Rakefile|rake|cgi|fcgi|gemspec|irbrc|Capfile|ru|prawn|Cheffile|Gemfile|Guardfile|Hobofile|Vagrantfile|Appraisals|Rantfile|Berksfile|Berksfile.lock|Thorfile|Puppetfile))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(ruby|rbx??|rjs|Rakefile|rake|cgi|fcgi|gemspec|irbrc|Capfile|ru|prawn|Cheffile|Gemfile|Guardfile|Hobofile|Vagrantfile|Appraisals|Rantfile|Berksfile|Berksfile.lock|Thorfile|Puppetfile)((\\s+|[,:?{])[^`]*)?$)"],
|
|
10627
|
+
"rust": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(rust|rs|\\{\\.rust.+?}))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(rust|rs|\\{\\.rust.+?})((\\s+|[,:?{])[^`]*)?$)"],
|
|
10628
|
+
"scss": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(scss))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(scss)((\\s+|[,:?{])[^`]*)?$)"],
|
|
10629
|
+
"shellscript": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(shell|sh|bash|zsh|bashrc|bash_profile|bash_login|profile|bash_logout|.textmate_init|\\{\\.bash.+?}))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(shell|sh|bash|zsh|bashrc|bash_profile|bash_login|profile|bash_logout|.textmate_init|\\{\\.bash.+?})((\\s+|[,:?{])[^`]*)?$)"],
|
|
10630
|
+
"sql": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(sql|ddl|dml))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(sql|ddl|dml)((\\s+|[,:?{])[^`]*)?$)"],
|
|
10631
|
+
"tsx": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(tsx))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(tsx)((\\s+|[,:?{])[^`]*)?$)"],
|
|
10632
|
+
"typescript": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(t(?:ypescript|s)))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(t(?:ypescript|s))((\\s+|[,:?{])[^`]*)?$)"],
|
|
10633
|
+
"xml": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(xml|xsd|tld|jsp|pt|cpt|dtml|rss|opml))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(xml|xsd|tld|jsp|pt|cpt|dtml|rss|opml)((\\s+|[,:?{])[^`]*)?$)"],
|
|
10634
|
+
"xsl": ["(?=(?>\\[(source)[#,]\\p{blank}*(?i:(xslt??))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(xslt??)((\\s+|[,:?{])[^`]*)?$)"],
|
|
10635
|
+
"yaml": ["(-{3})$", "(?=(?>\\[(source)[#,]\\p{blank}*(?i:(ya?ml))([#,][^]]+)*]$))", "(|)(`{3,})\\s*(?i:(ya?ml)((\\s+|[,:?{])[^`]*)?$)"]
|
|
10596
10636
|
}
|
|
10597
10637
|
};
|
|
10598
10638
|
var LAZY_VIA = {
|
|
10639
|
+
"asciidoc": ["asciidoc"],
|
|
10599
10640
|
"haml": ["haml"],
|
|
10600
10641
|
"markdown": ["markdown"],
|
|
10601
10642
|
"ruby": ["haml"]
|
|
@@ -10942,6 +10983,10 @@ var ALIASES = {
|
|
|
10942
10983
|
py: "python",
|
|
10943
10984
|
rb: "ruby",
|
|
10944
10985
|
md: "markdown",
|
|
10986
|
+
// A grammar that embeds lazily must be reached by its own name (LAZY_VIA): its other spellings come here
|
|
10987
|
+
adoc: "asciidoc",
|
|
10988
|
+
jinja2: "jinja",
|
|
10989
|
+
j2: "jinja",
|
|
10945
10990
|
terraform: "hcl",
|
|
10946
10991
|
tf: "hcl"
|
|
10947
10992
|
};
|
|
@@ -6023,7 +6023,28 @@ var THEME_CSS = { "api.css": "/* Generated by packages/render-html/scripts/sync-
|
|
|
6023
6023
|
.sub-steps-list > li > .step-title {
|
|
6024
6024
|
display: block;
|
|
6025
6025
|
}
|
|
6026
|
-
`, "theme-default.css": '/* Generated by packages/render-html/scripts/sync-sources.mjs from @dogsbay/format-astro (themeCss("default")). Do not edit. */\n@custom-variant dark (&:where(.dark, .dark *));\n\n@theme inline {\n --color-background: var(--background);\n --color-foreground: var(--foreground);\n --color-card: var(--card);\n --color-card-foreground: var(--card-foreground);\n --color-popover: var(--popover);\n --color-popover-foreground: var(--popover-foreground);\n --color-primary: var(--primary);\n --color-primary-foreground: var(--primary-foreground);\n --color-secondary: var(--secondary);\n --color-secondary-foreground: var(--secondary-foreground);\n --color-muted: var(--muted);\n --color-muted-foreground: var(--muted-foreground);\n --color-accent: var(--accent);\n --color-accent-foreground: var(--accent-foreground);\n --color-destructive: var(--destructive);\n --color-destructive-foreground: var(--destructive-foreground);\n --color-border: var(--border);\n --color-input: var(--input);\n --color-ring: var(--ring);\n --radius-sm: calc(var(--radius) - 4px);\n --radius-md: calc(var(--radius) - 2px);\n --radius-lg: var(--radius);\n --radius-xl: calc(var(--radius) + 4px);\n\n /* Sidebar */\n --color-sidebar: var(--sidebar);\n --color-sidebar-foreground: var(--sidebar-foreground);\n --color-sidebar-primary: var(--sidebar-primary);\n --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);\n --color-sidebar-accent: var(--sidebar-accent);\n --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);\n --color-sidebar-border: var(--sidebar-border);\n --color-sidebar-ring: var(--sidebar-ring);\n\n /* Admonition colors */\n --color-note: var(--note);\n --color-note-foreground: var(--note-foreground);\n --color-abstract: var(--abstract);\n --color-info: var(--info);\n --color-tip: var(--tip);\n --color-success: var(--success);\n --color-question: var(--question);\n --color-warning: var(--warning);\n --color-failure: var(--failure);\n --color-danger: var(--danger);\n --color-bug: var(--bug);\n --color-example: var(--example);\n --color-quote: var(--quote);\n\n /* Code */\n --color-code-bg: var(--code-background);\n --color-code-fg: var(--code-foreground);\n\n /* API reference \u2014 HTTP method, type, status, role colors */\n --color-api-field: var(--api-field);\n --color-api-get: var(--api-get);\n --color-api-post: var(--api-post);\n --color-api-put: var(--api-put);\n --color-api-patch: var(--api-patch);\n --color-api-delete: var(--api-delete);\n --color-api-head: var(--api-head);\n --color-api-required: var(--api-required);\n --color-api-deprecated: var(--api-deprecated);\n --color-api-type-string: var(--api-type-string);\n --color-api-type-number: var(--api-type-number);\n --color-api-type-boolean: var(--api-type-boolean);\n --color-api-type-object: var(--api-type-object);\n --color-api-type-array: var(--api-type-array);\n --color-api-status-2xx: var(--api-status-2xx);\n --color-api-status-3xx: var(--api-status-3xx);\n --color-api-status-4xx: var(--api-status-4xx);\n --color-api-status-5xx: var(--api-status-5xx);\n\n /* Fonts */\n --font-sans: var(--font-sans);\n --font-mono: var(--font-code);\n --font-family-code: var(--font-code);\n}\n\n:root {\n --background: oklch(1 0 0);\n --foreground: oklch(0.145 0.014 285.823);\n --card: oklch(1 0 0);\n --card-foreground: oklch(0.145 0.014 285.823);\n --popover: oklch(1 0 0);\n --popover-foreground: oklch(0.145 0.014 285.823);\n --primary: oklch(0.205 0.014 285.823);\n --primary-foreground: oklch(0.985 0 0);\n --secondary: oklch(0.965 0.001 286.375);\n --secondary-foreground: oklch(0.205 0.014 285.823);\n --muted: oklch(0.965 0.001 286.375);\n --muted-foreground: oklch(0.45 0.014 285.938);\n --accent: oklch(0.965 0.001 286.375);\n --accent-foreground: oklch(0.205 0.014 285.823);\n --destructive: oklch(0.45 0.245 27.325);\n --destructive-foreground: oklch(0.985 0 0);\n --border: oklch(0.922 0.004 286.32);\n --input: oklch(0.922 0.004 286.32);\n --ring: oklch(0.708 0.014 285.823);\n --radius: 0.625rem;\n --note: oklch(0.637 0.174 259.126);\n --note-foreground: var(--foreground);\n --abstract: oklch(0.691 0.148 221.723);\n --info: oklch(0.722 0.128 207.084);\n --tip: oklch(0.731 0.112 178.627);\n --success: oklch(0.754 0.175 149.577);\n --question: oklch(0.809 0.19 126.526);\n --warning: oklch(0.74 0.175 62.778);\n --failure: oklch(0.614 0.194 21.602);\n --danger: oklch(0.577 0.245 16.439);\n --bug: oklch(0.548 0.258 349.761);\n --example: oklch(0.534 0.222 286.033);\n --quote: oklch(0.65 0 0);\n --sidebar: oklch(0.985 0 0);\n --sidebar-foreground: oklch(0.145 0.014 285.823);\n --sidebar-primary: oklch(0.205 0.014 285.823);\n --sidebar-primary-foreground: oklch(0.985 0 0);\n --sidebar-accent: oklch(0.965 0.001 286.375);\n --sidebar-accent-foreground: oklch(0.205 0.014 285.823);\n --sidebar-border: oklch(0.922 0.004 286.32);\n --sidebar-ring: oklch(0.708 0.014 285.823);\n --code-background: oklch(0.965 0.004 264);\n --code-foreground: oklch(0.3 0.014 253.833);\n\n /* API reference \u2014 always-dark code panel */\n --api-panel-bg: oklch(0.145 0.014 253.833);\n --api-panel-fg: oklch(0.926 0.013 253.833);\n\n /* API semantic colors \u2014 HTTP methods, types, status codes */\n /* Light mode: darkened for WCAG AA on the 20%/10% tints. See .dark. */\n --api-get: oklch(0.435 0.095 162);\n --api-post: oklch(0.45 0.174 259);\n --api-put: oklch(0.455 0.105 63);\n --api-patch: oklch(0.455 0.13 45);\n --api-delete: oklch(0.45 0.179 22);\n --api-head: oklch(0.47 0.222 286);\n --api-required: oklch(0.45 0.179 22);\n --api-deprecated: oklch(0.455 0.105 63);\n /* A field name in an operation\'s description (`id`, `name`): the JSON\n key colour of the highlighted examples (github-light-default #0550ae). */\n --api-field: oklch(0.47 0.16 254);\n --api-type-string: oklch(0.435 0.095 162);\n --api-type-number: oklch(0.45 0.174 259);\n --api-type-boolean: oklch(0.455 0.105 63);\n --api-type-object: oklch(0.47 0.222 286);\n --api-type-array: oklch(0.455 0.13 45);\n --api-status-2xx: oklch(0.435 0.095 162);\n --api-status-3xx: oklch(0.45 0.174 259);\n --api-status-4xx: oklch(0.455 0.105 63);\n --api-status-5xx: oklch(0.45 0.179 22);\n\n --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;\n --font-heading: var(--font-sans);\n --font-code: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;\n}\n\n.dark {\n --background: oklch(0.145 0.014 285.823);\n --foreground: oklch(0.985 0 0);\n --card: oklch(0.145 0.014 285.823);\n --card-foreground: oklch(0.985 0 0);\n --popover: oklch(0.145 0.014 285.823);\n --popover-foreground: oklch(0.985 0 0);\n --primary: oklch(0.985 0 0);\n --primary-foreground: oklch(0.205 0.014 285.823);\n --secondary: oklch(0.269 0.007 286.033);\n --secondary-foreground: oklch(0.985 0 0);\n --muted: oklch(0.269 0.007 286.033);\n --muted-foreground: oklch(0.708 0.014 285.823);\n --accent: oklch(0.269 0.007 286.033);\n --accent-foreground: oklch(0.985 0 0);\n --destructive: oklch(0.704 0.191 22.216);\n --destructive-foreground: oklch(0.145 0.014 285.823);\n --border: oklch(0.269 0.007 286.033);\n --input: oklch(0.269 0.007 286.033);\n --ring: oklch(0.439 0.01 286.375);\n --note-foreground: var(--foreground);\n --sidebar: oklch(0.205 0.014 285.823);\n --sidebar-foreground: oklch(0.985 0 0);\n --sidebar-primary: oklch(0.488 0.243 264.376);\n --sidebar-primary-foreground: oklch(0.985 0 0);\n --sidebar-accent: oklch(0.269 0.007 286.033);\n --sidebar-accent-foreground: oklch(0.985 0 0);\n --sidebar-border: oklch(0.269 0.007 286.033);\n --sidebar-ring: oklch(0.439 0.01 286.375);\n --code-background: oklch(0.18 0.014 253.833);\n --code-foreground: oklch(0.926 0.013 253.833);\n\n /* API semantic colors \u2014 lightened for dark mode (AA on 20%/10% tints). */\n --api-get: oklch(0.720 0.135 162);\n --api-post: oklch(0.755 0.174 259);\n --api-put: oklch(0.745 0.15 63);\n --api-patch: oklch(0.725 0.18 45);\n --api-delete: oklch(0.805 0.194 22);\n --api-head: oklch(0.740 0.182 286);\n --api-required: oklch(0.805 0.194 22);\n --api-deprecated: oklch(0.745 0.15 63);\n --api-field: oklch(0.79 0.11 245); /* github-dark-default #79c0ff */\n --api-type-string: oklch(0.690 0.135 162);\n --api-type-number: oklch(0.725 0.174 259);\n --api-type-boolean: oklch(0.720 0.15 63);\n --api-type-object: oklch(0.740 0.182 286);\n --api-type-array: oklch(0.725 0.18 45);\n --api-status-2xx: oklch(0.720 0.135 162);\n --api-status-3xx: oklch(0.755 0.174 259);\n --api-status-4xx: oklch(0.770 0.15 63);\n --api-status-5xx: oklch(0.805 0.194 22);\n}\n\n@layer base {\n * { @apply border-border outline-ring/50; }\n body { @apply bg-background text-foreground font-sans; }\n}\n\n/* Shiki dual-theme: light by default, dark when .dark class is active */\n.shiki,\n.shiki span,\n.astro-code,\n.astro-code span {\n color: var(--shiki-light) !important;\n}\n.shiki,\n.astro-code {\n background-color: var(--shiki-light-bg) !important;\n}\n.dark .shiki,\n.dark .shiki span,\n.dark .astro-code,\n.dark .astro-code span {\n color: var(--shiki-dark) !important;\n}\n.dark .shiki,\n.dark .astro-code {\n background-color: var(--shiki-dark-bg) !important;\n}\n/* Fix comment color contrast for WCAG AA */\n.shiki span[style*="--shiki-light:#6E7781"],\n.astro-code span[style*="--shiki-light:#6E7781"] {\n --shiki-light: #576069 !important;\n}\n', "theme-mintlify.css": '/* Generated by packages/render-html/scripts/sync-sources.mjs from @dogsbay/format-astro (themeCss("mintlify")). Do not edit. */\n@custom-variant dark (&:where(.dark, .dark *));\n\n@theme inline {\n --color-background: var(--background);\n --color-foreground: var(--foreground);\n --color-card: var(--card);\n --color-card-foreground: var(--card-foreground);\n --color-popover: var(--popover);\n --color-popover-foreground: var(--popover-foreground);\n --color-primary: var(--primary);\n --color-primary-foreground: var(--primary-foreground);\n --color-secondary: var(--secondary);\n --color-secondary-foreground: var(--secondary-foreground);\n --color-muted: var(--muted);\n --color-muted-foreground: var(--muted-foreground);\n --color-accent: var(--accent);\n --color-accent-foreground: var(--accent-foreground);\n --color-destructive: var(--destructive);\n --color-destructive-foreground: var(--destructive-foreground);\n --color-border: var(--border);\n --color-input: var(--input);\n --color-ring: var(--ring);\n --radius-sm: calc(var(--radius) - 4px);\n --radius-md: calc(var(--radius) - 2px);\n --radius-lg: var(--radius);\n --radius-xl: calc(var(--radius) + 4px);\n\n /* Sidebar */\n --color-sidebar: var(--sidebar);\n --color-sidebar-foreground: var(--sidebar-foreground);\n --color-sidebar-primary: var(--sidebar-primary);\n --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);\n --color-sidebar-accent: var(--sidebar-accent);\n --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);\n --color-sidebar-border: var(--sidebar-border);\n --color-sidebar-ring: var(--sidebar-ring);\n\n /* Admonition colors */\n --color-note: var(--note);\n --color-note-foreground: var(--note-foreground);\n --color-abstract: var(--abstract);\n --color-info: var(--info);\n --color-tip: var(--tip);\n --color-success: var(--success);\n --color-question: var(--question);\n --color-warning: var(--warning);\n --color-failure: var(--failure);\n --color-danger: var(--danger);\n --color-bug: var(--bug);\n --color-example: var(--example);\n --color-quote: var(--quote);\n\n /* Code */\n --color-code-bg: var(--code-background);\n --color-code-fg: var(--code-foreground);\n\n /* API reference \u2014 HTTP method, type, status, role colors */\n --color-api-field: var(--api-field);\n --color-api-get: var(--api-get);\n --color-api-post: var(--api-post);\n --color-api-put: var(--api-put);\n --color-api-patch: var(--api-patch);\n --color-api-delete: var(--api-delete);\n --color-api-head: var(--api-head);\n --color-api-required: var(--api-required);\n --color-api-deprecated: var(--api-deprecated);\n --color-api-type-string: var(--api-type-string);\n --color-api-type-number: var(--api-type-number);\n --color-api-type-boolean: var(--api-type-boolean);\n --color-api-type-object: var(--api-type-object);\n --color-api-type-array: var(--api-type-array);\n --color-api-status-2xx: var(--api-status-2xx);\n --color-api-status-3xx: var(--api-status-3xx);\n --color-api-status-4xx: var(--api-status-4xx);\n --color-api-status-5xx: var(--api-status-5xx);\n\n /* Fonts */\n --font-sans: var(--font-sans);\n --font-mono: var(--font-code);\n --font-family-code: var(--font-code);\n}\n\n:root {\n --background: oklch(0.993 0.005 95);\n --foreground: oklch(0.15 0.01 260);\n --card: oklch(0.993 0.005 95);\n --card-foreground: oklch(0.15 0.01 260);\n --popover: oklch(0.993 0.005 95);\n --popover-foreground: oklch(0.15 0.01 260);\n --primary: oklch(0.15 0.01 260);\n --primary-foreground: oklch(0.985 0 0);\n --secondary: oklch(0.97 0.002 260);\n --secondary-foreground: oklch(0.15 0.01 260);\n --muted: oklch(0.97 0.002 260);\n --muted-foreground: oklch(0.45 0.01 260);\n --accent: oklch(0.97 0.002 260);\n --accent-foreground: oklch(0.15 0.01 260);\n --destructive: oklch(0.55 0.22 25);\n --destructive-foreground: oklch(0.985 0 0);\n --border: oklch(0.91 0.004 260);\n --input: oklch(0.91 0.004 260);\n --ring: oklch(0.7 0.01 260);\n --radius: 1rem;\n /* Callout colors \u2014 soft pastel backgrounds matching Mintlify */\n --note: oklch(0.62 0.18 260);\n --note-foreground: var(--foreground);\n --abstract: oklch(0.65 0.14 220);\n --info: oklch(0.65 0.14 230);\n --tip: oklch(0.65 0.16 155);\n --success: oklch(0.65 0.16 155);\n --question: oklch(0.7 0.15 270);\n --warning: oklch(0.7 0.15 75);\n --failure: oklch(0.6 0.2 25);\n --danger: oklch(0.55 0.22 25);\n --bug: oklch(0.55 0.22 350);\n --example: oklch(0.55 0.2 285);\n --quote: oklch(0.55 0 0);\n /* Sidebar */\n --sidebar: oklch(0.993 0.005 95);\n --sidebar-foreground: oklch(0.15 0.01 260);\n --sidebar-primary: oklch(0.15 0.01 260);\n --sidebar-primary-foreground: oklch(0.985 0 0);\n --sidebar-accent: oklch(0.97 0.002 260);\n --sidebar-accent-foreground: oklch(0.15 0.01 260);\n --sidebar-border: oklch(0.93 0.004 260);\n --sidebar-ring: oklch(0.7 0.01 260);\n /* Code \u2014 light gray background, matching Mintlify\'s inline code */\n --code-background: oklch(0.96 0.003 260);\n --code-foreground: oklch(0.25 0.01 260);\n\n /* API reference \u2014 always-dark code panel */\n --api-panel-bg: oklch(0.145 0.014 253.833);\n --api-panel-fg: oklch(0.926 0.013 253.833);\n\n /* API semantic colors \u2014 HTTP methods, types, status codes */\n /* Light mode: darkened for WCAG AA on the 20%/10% tints. See .dark. */\n --api-get: oklch(0.435 0.095 162);\n --api-post: oklch(0.45 0.174 259);\n --api-put: oklch(0.455 0.105 63);\n --api-patch: oklch(0.455 0.13 45);\n --api-delete: oklch(0.45 0.179 22);\n --api-head: oklch(0.47 0.222 286);\n --api-required: oklch(0.45 0.179 22);\n --api-deprecated: oklch(0.455 0.105 63);\n /* A field name in an operation\'s description (`id`, `name`): the JSON\n key colour of the highlighted examples (github-light-default #0550ae). */\n --api-field: oklch(0.47 0.16 254);\n --api-type-string: oklch(0.435 0.095 162);\n --api-type-number: oklch(0.45 0.174 259);\n --api-type-boolean: oklch(0.455 0.105 63);\n --api-type-object: oklch(0.47 0.222 286);\n --api-type-array: oklch(0.455 0.13 45);\n --api-status-2xx: oklch(0.435 0.095 162);\n --api-status-3xx: oklch(0.45 0.174 259);\n --api-status-4xx: oklch(0.455 0.105 63);\n --api-status-5xx: oklch(0.45 0.179 22);\n\n /* Fonts \u2014 system sans for body, JetBrains Mono for code */\n --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;\n --font-heading: var(--font-sans);\n --font-code: "JetBrains Mono", "Fira Code", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n}\n\n.dark {\n --background: oklch(0.16 0.01 260);\n --foreground: oklch(0.93 0.005 260);\n --card: oklch(0.18 0.01 260);\n --card-foreground: oklch(0.93 0.005 260);\n --popover: oklch(0.18 0.01 260);\n --popover-foreground: oklch(0.93 0.005 260);\n --primary: oklch(0.93 0.005 260);\n --primary-foreground: oklch(0.16 0.01 260);\n --secondary: oklch(0.22 0.008 260);\n --secondary-foreground: oklch(0.93 0.005 260);\n --muted: oklch(0.22 0.008 260);\n --muted-foreground: oklch(0.65 0.01 260);\n --accent: oklch(0.22 0.008 260);\n --accent-foreground: oklch(0.93 0.005 260);\n --destructive: oklch(0.65 0.2 25);\n --destructive-foreground: oklch(0.16 0.01 260);\n --border: oklch(0.28 0.008 260);\n --input: oklch(0.28 0.008 260);\n --ring: oklch(0.45 0.01 260);\n --note-foreground: var(--foreground);\n --sidebar: oklch(0.16 0.01 260);\n --sidebar-foreground: oklch(0.93 0.005 260);\n --sidebar-primary: oklch(0.55 0.2 260);\n --sidebar-primary-foreground: oklch(0.93 0.005 260);\n --sidebar-accent: oklch(0.22 0.008 260);\n --sidebar-accent-foreground: oklch(0.93 0.005 260);\n --sidebar-border: oklch(0.28 0.008 260);\n --sidebar-ring: oklch(0.45 0.01 260);\n --code-background: oklch(0.2 0.01 260);\n --code-foreground: oklch(0.9 0.01 260);\n\n /* API semantic colors \u2014 lightened for dark mode (AA on 20%/10% tints). */\n --api-get: oklch(0.720 0.135 162);\n --api-post: oklch(0.755 0.174 259);\n --api-put: oklch(0.745 0.15 63);\n --api-patch: oklch(0.725 0.18 45);\n --api-delete: oklch(0.805 0.194 22);\n --api-head: oklch(0.740 0.182 286);\n --api-required: oklch(0.805 0.194 22);\n --api-deprecated: oklch(0.745 0.15 63);\n --api-field: oklch(0.79 0.11 245); /* github-dark-default #79c0ff */\n --api-type-string: oklch(0.690 0.135 162);\n --api-type-number: oklch(0.725 0.174 259);\n --api-type-boolean: oklch(0.720 0.15 63);\n --api-type-object: oklch(0.740 0.182 286);\n --api-type-array: oklch(0.725 0.18 45);\n --api-status-2xx: oklch(0.720 0.135 162);\n --api-status-3xx: oklch(0.755 0.174 259);\n --api-status-4xx: oklch(0.770 0.15 63);\n --api-status-5xx: oklch(0.805 0.194 22);\n}\n\n@layer base {\n * { @apply border-border outline-ring/50; }\n body { @apply bg-background text-foreground font-sans; }\n}\n\n/* Shiki dual-theme: light by default, dark when .dark class is active */\n.shiki,\n.shiki span,\n.astro-code,\n.astro-code span {\n color: var(--shiki-light) !important;\n}\n.shiki,\n.astro-code {\n background-color: var(--shiki-light-bg) !important;\n}\n.dark .shiki,\n.dark .shiki span,\n.dark .astro-code,\n.dark .astro-code span {\n color: var(--shiki-dark) !important;\n}\n.dark .shiki,\n.dark .astro-code {\n background-color: var(--shiki-dark-bg) !important;\n}\n/* Fix comment color contrast for WCAG AA */\n.shiki span[style*="--shiki-light:#6E7781"],\n.astro-code span[style*="--shiki-light:#6E7781"] {\n --shiki-light: #576069 !important;\n}\n', "image-zoom.css": "/* Generated by scripts/sync-astro-styles.mjs from @dogsbay/plugin-image-zoom styles.css. Do not edit. */\n/**\n * Styles shipped by @dogsbay/plugin-image-zoom.\n *\n * Imported into the user's `src/styles/global.css` by `dogsbay\n * site build` via the plugin runtime emitter.\n */\n\n[data-zoomable] {\n cursor: zoom-in;\n transition: transform 200ms ease;\n}\n\n.medium-zoom-overlay {\n z-index: 100;\n}\n\n.medium-zoom-image {\n cursor: zoom-out;\n z-index: 101;\n}\n\n.medium-zoom--opened [data-zoomable] {\n cursor: default;\n}\n", "ssg.css": `/*
|
|
6026
|
+
`, "theme-default.css": '/* Generated by packages/render-html/scripts/sync-sources.mjs from @dogsbay/format-astro (themeCss("default")). Do not edit. */\n@custom-variant dark (&:where(.dark, .dark *));\n\n@theme inline {\n --color-background: var(--background);\n --color-foreground: var(--foreground);\n --color-card: var(--card);\n --color-card-foreground: var(--card-foreground);\n --color-popover: var(--popover);\n --color-popover-foreground: var(--popover-foreground);\n --color-primary: var(--primary);\n --color-primary-foreground: var(--primary-foreground);\n --color-secondary: var(--secondary);\n --color-secondary-foreground: var(--secondary-foreground);\n --color-muted: var(--muted);\n --color-muted-foreground: var(--muted-foreground);\n --color-accent: var(--accent);\n --color-accent-foreground: var(--accent-foreground);\n --color-destructive: var(--destructive);\n --color-destructive-foreground: var(--destructive-foreground);\n --color-border: var(--border);\n --color-input: var(--input);\n --color-ring: var(--ring);\n --radius-sm: calc(var(--radius) - 4px);\n --radius-md: calc(var(--radius) - 2px);\n --radius-lg: var(--radius);\n --radius-xl: calc(var(--radius) + 4px);\n\n /* Sidebar */\n --color-sidebar: var(--sidebar);\n --color-sidebar-foreground: var(--sidebar-foreground);\n --color-sidebar-primary: var(--sidebar-primary);\n --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);\n --color-sidebar-accent: var(--sidebar-accent);\n --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);\n --color-sidebar-border: var(--sidebar-border);\n --color-sidebar-ring: var(--sidebar-ring);\n\n /* Admonition colors */\n --color-note: var(--note);\n --color-note-foreground: var(--note-foreground);\n --color-abstract: var(--abstract);\n --color-info: var(--info);\n --color-tip: var(--tip);\n --color-success: var(--success);\n --color-question: var(--question);\n --color-warning: var(--warning);\n --color-failure: var(--failure);\n --color-danger: var(--danger);\n --color-bug: var(--bug);\n --color-example: var(--example);\n --color-quote: var(--quote);\n\n /* Code */\n --color-code-bg: var(--code-background);\n --color-code-fg: var(--code-foreground);\n\n /* API reference \u2014 HTTP method, type, status, role colors */\n --color-api-field: var(--api-field);\n --color-api-get: var(--api-get);\n --color-api-post: var(--api-post);\n --color-api-put: var(--api-put);\n --color-api-patch: var(--api-patch);\n --color-api-delete: var(--api-delete);\n --color-api-head: var(--api-head);\n --color-api-required: var(--api-required);\n --color-api-deprecated: var(--api-deprecated);\n --color-api-type-string: var(--api-type-string);\n --color-api-type-number: var(--api-type-number);\n --color-api-type-boolean: var(--api-type-boolean);\n --color-api-type-object: var(--api-type-object);\n --color-api-type-array: var(--api-type-array);\n --color-api-status-2xx: var(--api-status-2xx);\n --color-api-status-3xx: var(--api-status-3xx);\n --color-api-status-4xx: var(--api-status-4xx);\n --color-api-status-5xx: var(--api-status-5xx);\n\n /* Fonts */\n --font-sans: var(--font-sans);\n --font-mono: var(--font-code);\n --font-family-code: var(--font-code);\n}\n\n:root {\n --background: oklch(1 0 0);\n --foreground: oklch(0.145 0.014 285.823);\n --card: oklch(1 0 0);\n --card-foreground: oklch(0.145 0.014 285.823);\n --popover: oklch(1 0 0);\n --popover-foreground: oklch(0.145 0.014 285.823);\n --primary: oklch(0.205 0.014 285.823);\n --primary-foreground: oklch(0.985 0 0);\n --secondary: oklch(0.965 0.001 286.375);\n --secondary-foreground: oklch(0.205 0.014 285.823);\n --muted: oklch(0.965 0.001 286.375);\n --muted-foreground: oklch(0.45 0.014 285.938);\n --accent: oklch(0.965 0.001 286.375);\n --accent-foreground: oklch(0.205 0.014 285.823);\n --destructive: oklch(0.45 0.245 27.325);\n --destructive-foreground: oklch(0.985 0 0);\n --border: oklch(0.922 0.004 286.32);\n --input: oklch(0.922 0.004 286.32);\n --ring: oklch(0.708 0.014 285.823);\n --radius: 0.625rem;\n --note: oklch(0.637 0.174 259.126);\n --note-foreground: var(--foreground);\n --abstract: oklch(0.691 0.148 221.723);\n --info: oklch(0.722 0.128 207.084);\n --tip: oklch(0.731 0.112 178.627);\n --success: oklch(0.754 0.175 149.577);\n --question: oklch(0.809 0.19 126.526);\n --warning: oklch(0.74 0.175 62.778);\n --failure: oklch(0.614 0.194 21.602);\n --danger: oklch(0.577 0.245 16.439);\n --bug: oklch(0.548 0.258 349.761);\n --example: oklch(0.534 0.222 286.033);\n --quote: oklch(0.65 0 0);\n --sidebar: oklch(0.985 0 0);\n --sidebar-foreground: oklch(0.145 0.014 285.823);\n --sidebar-primary: oklch(0.205 0.014 285.823);\n --sidebar-primary-foreground: oklch(0.985 0 0);\n --sidebar-accent: oklch(0.965 0.001 286.375);\n --sidebar-accent-foreground: oklch(0.205 0.014 285.823);\n --sidebar-border: oklch(0.922 0.004 286.32);\n --sidebar-ring: oklch(0.708 0.014 285.823);\n --code-background: oklch(0.965 0.004 264);\n --code-foreground: oklch(0.3 0.014 253.833);\n\n /* API reference \u2014 always-dark code panel */\n --api-panel-bg: oklch(0.145 0.014 253.833);\n --api-panel-fg: oklch(0.926 0.013 253.833);\n\n /* API semantic colors \u2014 HTTP methods, types, status codes */\n /* Light mode: darkened for WCAG AA on the 20%/10% tints. See .dark. */\n --api-get: oklch(0.435 0.095 162);\n --api-post: oklch(0.45 0.174 259);\n --api-put: oklch(0.455 0.105 63);\n --api-patch: oklch(0.455 0.13 45);\n --api-delete: oklch(0.45 0.179 22);\n --api-head: oklch(0.47 0.222 286);\n --api-required: oklch(0.45 0.179 22);\n --api-deprecated: oklch(0.455 0.105 63);\n /* A field name in an operation\'s description (`id`, `name`): the JSON\n key colour of the highlighted examples (github-light-default #0550ae). */\n --api-field: oklch(0.47 0.16 254);\n --api-type-string: oklch(0.435 0.095 162);\n --api-type-number: oklch(0.45 0.174 259);\n --api-type-boolean: oklch(0.455 0.105 63);\n --api-type-object: oklch(0.47 0.222 286);\n --api-type-array: oklch(0.455 0.13 45);\n --api-status-2xx: oklch(0.435 0.095 162);\n --api-status-3xx: oklch(0.45 0.174 259);\n --api-status-4xx: oklch(0.455 0.105 63);\n --api-status-5xx: oklch(0.45 0.179 22);\n\n --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;\n --font-heading: var(--font-sans);\n --font-code: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;\n}\n\n.dark {\n --background: oklch(0.145 0.014 285.823);\n --foreground: oklch(0.985 0 0);\n --card: oklch(0.145 0.014 285.823);\n --card-foreground: oklch(0.985 0 0);\n --popover: oklch(0.145 0.014 285.823);\n --popover-foreground: oklch(0.985 0 0);\n --primary: oklch(0.985 0 0);\n --primary-foreground: oklch(0.205 0.014 285.823);\n --secondary: oklch(0.269 0.007 286.033);\n --secondary-foreground: oklch(0.985 0 0);\n --muted: oklch(0.269 0.007 286.033);\n --muted-foreground: oklch(0.708 0.014 285.823);\n --accent: oklch(0.269 0.007 286.033);\n --accent-foreground: oklch(0.985 0 0);\n --destructive: oklch(0.704 0.191 22.216);\n --destructive-foreground: oklch(0.145 0.014 285.823);\n --border: oklch(0.269 0.007 286.033);\n --input: oklch(0.269 0.007 286.033);\n --ring: oklch(0.439 0.01 286.375);\n --note-foreground: var(--foreground);\n --sidebar: oklch(0.205 0.014 285.823);\n --sidebar-foreground: oklch(0.985 0 0);\n --sidebar-primary: oklch(0.488 0.243 264.376);\n --sidebar-primary-foreground: oklch(0.985 0 0);\n --sidebar-accent: oklch(0.269 0.007 286.033);\n --sidebar-accent-foreground: oklch(0.985 0 0);\n --sidebar-border: oklch(0.269 0.007 286.033);\n --sidebar-ring: oklch(0.439 0.01 286.375);\n --code-background: oklch(0.18 0.014 253.833);\n --code-foreground: oklch(0.926 0.013 253.833);\n\n /* API semantic colors \u2014 lightened for dark mode (AA on 20%/10% tints). */\n --api-get: oklch(0.720 0.135 162);\n --api-post: oklch(0.755 0.174 259);\n --api-put: oklch(0.745 0.15 63);\n --api-patch: oklch(0.725 0.18 45);\n --api-delete: oklch(0.805 0.194 22);\n --api-head: oklch(0.740 0.182 286);\n --api-required: oklch(0.805 0.194 22);\n --api-deprecated: oklch(0.745 0.15 63);\n --api-field: oklch(0.79 0.11 245); /* github-dark-default #79c0ff */\n --api-type-string: oklch(0.690 0.135 162);\n --api-type-number: oklch(0.725 0.174 259);\n --api-type-boolean: oklch(0.720 0.15 63);\n --api-type-object: oklch(0.740 0.182 286);\n --api-type-array: oklch(0.725 0.18 45);\n --api-status-2xx: oklch(0.720 0.135 162);\n --api-status-3xx: oklch(0.755 0.174 259);\n --api-status-4xx: oklch(0.770 0.15 63);\n --api-status-5xx: oklch(0.805 0.194 22);\n}\n\n@layer base {\n * { @apply border-border outline-ring/50; }\n body { @apply bg-background text-foreground font-sans; }\n}\n\n/* Shiki dual-theme: light by default, dark when .dark class is active */\n.shiki,\n.shiki span,\n.astro-code,\n.astro-code span {\n color: var(--shiki-light) !important;\n}\n.shiki,\n.astro-code {\n background-color: var(--shiki-light-bg) !important;\n}\n.dark .shiki,\n.dark .shiki span,\n.dark .astro-code,\n.dark .astro-code span {\n color: var(--shiki-dark) !important;\n}\n.dark .shiki,\n.dark .astro-code {\n background-color: var(--shiki-dark-bg) !important;\n}\n/* Fix comment color contrast for WCAG AA */\n.shiki span[style*="--shiki-light:#6E7781"],\n.astro-code span[style*="--shiki-light:#6E7781"] {\n --shiki-light: #576069 !important;\n}\n', "theme-mintlify.css": '/* Generated by packages/render-html/scripts/sync-sources.mjs from @dogsbay/format-astro (themeCss("mintlify")). Do not edit. */\n@custom-variant dark (&:where(.dark, .dark *));\n\n@theme inline {\n --color-background: var(--background);\n --color-foreground: var(--foreground);\n --color-card: var(--card);\n --color-card-foreground: var(--card-foreground);\n --color-popover: var(--popover);\n --color-popover-foreground: var(--popover-foreground);\n --color-primary: var(--primary);\n --color-primary-foreground: var(--primary-foreground);\n --color-secondary: var(--secondary);\n --color-secondary-foreground: var(--secondary-foreground);\n --color-muted: var(--muted);\n --color-muted-foreground: var(--muted-foreground);\n --color-accent: var(--accent);\n --color-accent-foreground: var(--accent-foreground);\n --color-destructive: var(--destructive);\n --color-destructive-foreground: var(--destructive-foreground);\n --color-border: var(--border);\n --color-input: var(--input);\n --color-ring: var(--ring);\n --radius-sm: calc(var(--radius) - 4px);\n --radius-md: calc(var(--radius) - 2px);\n --radius-lg: var(--radius);\n --radius-xl: calc(var(--radius) + 4px);\n\n /* Sidebar */\n --color-sidebar: var(--sidebar);\n --color-sidebar-foreground: var(--sidebar-foreground);\n --color-sidebar-primary: var(--sidebar-primary);\n --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);\n --color-sidebar-accent: var(--sidebar-accent);\n --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);\n --color-sidebar-border: var(--sidebar-border);\n --color-sidebar-ring: var(--sidebar-ring);\n\n /* Admonition colors */\n --color-note: var(--note);\n --color-note-foreground: var(--note-foreground);\n --color-abstract: var(--abstract);\n --color-info: var(--info);\n --color-tip: var(--tip);\n --color-success: var(--success);\n --color-question: var(--question);\n --color-warning: var(--warning);\n --color-failure: var(--failure);\n --color-danger: var(--danger);\n --color-bug: var(--bug);\n --color-example: var(--example);\n --color-quote: var(--quote);\n\n /* Code */\n --color-code-bg: var(--code-background);\n --color-code-fg: var(--code-foreground);\n\n /* API reference \u2014 HTTP method, type, status, role colors */\n --color-api-field: var(--api-field);\n --color-api-get: var(--api-get);\n --color-api-post: var(--api-post);\n --color-api-put: var(--api-put);\n --color-api-patch: var(--api-patch);\n --color-api-delete: var(--api-delete);\n --color-api-head: var(--api-head);\n --color-api-required: var(--api-required);\n --color-api-deprecated: var(--api-deprecated);\n --color-api-type-string: var(--api-type-string);\n --color-api-type-number: var(--api-type-number);\n --color-api-type-boolean: var(--api-type-boolean);\n --color-api-type-object: var(--api-type-object);\n --color-api-type-array: var(--api-type-array);\n --color-api-status-2xx: var(--api-status-2xx);\n --color-api-status-3xx: var(--api-status-3xx);\n --color-api-status-4xx: var(--api-status-4xx);\n --color-api-status-5xx: var(--api-status-5xx);\n\n /* Fonts */\n --font-sans: var(--font-sans);\n --font-mono: var(--font-code);\n --font-family-code: var(--font-code);\n}\n\n:root {\n --background: oklch(0.993 0.005 95);\n --foreground: oklch(0.15 0.01 260);\n --card: oklch(0.993 0.005 95);\n --card-foreground: oklch(0.15 0.01 260);\n --popover: oklch(0.993 0.005 95);\n --popover-foreground: oklch(0.15 0.01 260);\n --primary: oklch(0.15 0.01 260);\n --primary-foreground: oklch(0.985 0 0);\n --secondary: oklch(0.97 0.002 260);\n --secondary-foreground: oklch(0.15 0.01 260);\n --muted: oklch(0.97 0.002 260);\n --muted-foreground: oklch(0.45 0.01 260);\n --accent: oklch(0.97 0.002 260);\n --accent-foreground: oklch(0.15 0.01 260);\n --destructive: oklch(0.55 0.22 25);\n --destructive-foreground: oklch(0.985 0 0);\n --border: oklch(0.91 0.004 260);\n --input: oklch(0.91 0.004 260);\n --ring: oklch(0.7 0.01 260);\n --radius: 1rem;\n /* Callout colors \u2014 soft pastel backgrounds matching Mintlify */\n --note: oklch(0.62 0.18 260);\n --note-foreground: var(--foreground);\n --abstract: oklch(0.65 0.14 220);\n --info: oklch(0.65 0.14 230);\n --tip: oklch(0.65 0.16 155);\n --success: oklch(0.65 0.16 155);\n --question: oklch(0.7 0.15 270);\n --warning: oklch(0.7 0.15 75);\n --failure: oklch(0.6 0.2 25);\n --danger: oklch(0.55 0.22 25);\n --bug: oklch(0.55 0.22 350);\n --example: oklch(0.55 0.2 285);\n --quote: oklch(0.55 0 0);\n /* Sidebar */\n --sidebar: oklch(0.993 0.005 95);\n --sidebar-foreground: oklch(0.15 0.01 260);\n --sidebar-primary: oklch(0.15 0.01 260);\n --sidebar-primary-foreground: oklch(0.985 0 0);\n --sidebar-accent: oklch(0.97 0.002 260);\n --sidebar-accent-foreground: oklch(0.15 0.01 260);\n --sidebar-border: oklch(0.93 0.004 260);\n --sidebar-ring: oklch(0.7 0.01 260);\n /* Code \u2014 light gray background, matching Mintlify\'s inline code */\n --code-background: oklch(0.96 0.003 260);\n --code-foreground: oklch(0.25 0.01 260);\n\n /* API reference \u2014 always-dark code panel */\n --api-panel-bg: oklch(0.145 0.014 253.833);\n --api-panel-fg: oklch(0.926 0.013 253.833);\n\n /* API semantic colors \u2014 HTTP methods, types, status codes */\n /* Light mode: darkened for WCAG AA on the 20%/10% tints. See .dark. */\n --api-get: oklch(0.435 0.095 162);\n --api-post: oklch(0.45 0.174 259);\n --api-put: oklch(0.455 0.105 63);\n --api-patch: oklch(0.455 0.13 45);\n --api-delete: oklch(0.45 0.179 22);\n --api-head: oklch(0.47 0.222 286);\n --api-required: oklch(0.45 0.179 22);\n --api-deprecated: oklch(0.455 0.105 63);\n /* A field name in an operation\'s description (`id`, `name`): the JSON\n key colour of the highlighted examples (github-light-default #0550ae). */\n --api-field: oklch(0.47 0.16 254);\n --api-type-string: oklch(0.435 0.095 162);\n --api-type-number: oklch(0.45 0.174 259);\n --api-type-boolean: oklch(0.455 0.105 63);\n --api-type-object: oklch(0.47 0.222 286);\n --api-type-array: oklch(0.455 0.13 45);\n --api-status-2xx: oklch(0.435 0.095 162);\n --api-status-3xx: oklch(0.45 0.174 259);\n --api-status-4xx: oklch(0.455 0.105 63);\n --api-status-5xx: oklch(0.45 0.179 22);\n\n /* Fonts \u2014 system sans for body, JetBrains Mono for code */\n --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;\n --font-heading: var(--font-sans);\n --font-code: "JetBrains Mono", "Fira Code", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n}\n\n.dark {\n --background: oklch(0.16 0.01 260);\n --foreground: oklch(0.93 0.005 260);\n --card: oklch(0.18 0.01 260);\n --card-foreground: oklch(0.93 0.005 260);\n --popover: oklch(0.18 0.01 260);\n --popover-foreground: oklch(0.93 0.005 260);\n --primary: oklch(0.93 0.005 260);\n --primary-foreground: oklch(0.16 0.01 260);\n --secondary: oklch(0.22 0.008 260);\n --secondary-foreground: oklch(0.93 0.005 260);\n --muted: oklch(0.22 0.008 260);\n --muted-foreground: oklch(0.65 0.01 260);\n --accent: oklch(0.22 0.008 260);\n --accent-foreground: oklch(0.93 0.005 260);\n --destructive: oklch(0.65 0.2 25);\n --destructive-foreground: oklch(0.16 0.01 260);\n --border: oklch(0.28 0.008 260);\n --input: oklch(0.28 0.008 260);\n --ring: oklch(0.45 0.01 260);\n --note-foreground: var(--foreground);\n --sidebar: oklch(0.16 0.01 260);\n --sidebar-foreground: oklch(0.93 0.005 260);\n --sidebar-primary: oklch(0.55 0.2 260);\n --sidebar-primary-foreground: oklch(0.93 0.005 260);\n --sidebar-accent: oklch(0.22 0.008 260);\n --sidebar-accent-foreground: oklch(0.93 0.005 260);\n --sidebar-border: oklch(0.28 0.008 260);\n --sidebar-ring: oklch(0.45 0.01 260);\n --code-background: oklch(0.2 0.01 260);\n --code-foreground: oklch(0.9 0.01 260);\n\n /* API semantic colors \u2014 lightened for dark mode (AA on 20%/10% tints). */\n --api-get: oklch(0.720 0.135 162);\n --api-post: oklch(0.755 0.174 259);\n --api-put: oklch(0.745 0.15 63);\n --api-patch: oklch(0.725 0.18 45);\n --api-delete: oklch(0.805 0.194 22);\n --api-head: oklch(0.740 0.182 286);\n --api-required: oklch(0.805 0.194 22);\n --api-deprecated: oklch(0.745 0.15 63);\n --api-field: oklch(0.79 0.11 245); /* github-dark-default #79c0ff */\n --api-type-string: oklch(0.690 0.135 162);\n --api-type-number: oklch(0.725 0.174 259);\n --api-type-boolean: oklch(0.720 0.15 63);\n --api-type-object: oklch(0.740 0.182 286);\n --api-type-array: oklch(0.725 0.18 45);\n --api-status-2xx: oklch(0.720 0.135 162);\n --api-status-3xx: oklch(0.755 0.174 259);\n --api-status-4xx: oklch(0.770 0.15 63);\n --api-status-5xx: oklch(0.805 0.194 22);\n}\n\n@layer base {\n * { @apply border-border outline-ring/50; }\n body { @apply bg-background text-foreground font-sans; }\n}\n\n/* Shiki dual-theme: light by default, dark when .dark class is active */\n.shiki,\n.shiki span,\n.astro-code,\n.astro-code span {\n color: var(--shiki-light) !important;\n}\n.shiki,\n.astro-code {\n background-color: var(--shiki-light-bg) !important;\n}\n.dark .shiki,\n.dark .shiki span,\n.dark .astro-code,\n.dark .astro-code span {\n color: var(--shiki-dark) !important;\n}\n.dark .shiki,\n.dark .astro-code {\n background-color: var(--shiki-dark-bg) !important;\n}\n/* Fix comment color contrast for WCAG AA */\n.shiki span[style*="--shiki-light:#6E7781"],\n.astro-code span[style*="--shiki-light:#6E7781"] {\n --shiki-light: #576069 !important;\n}\n', "image-zoom.css": "/* Generated by scripts/sync-astro-styles.mjs from @dogsbay/plugin-image-zoom styles.css. Do not edit. */\n/**\n * Styles shipped by @dogsbay/plugin-image-zoom.\n *\n * Imported into the user's `src/styles/global.css` by `dogsbay\n * site build` via the plugin runtime emitter.\n */\n\n[data-zoomable] {\n cursor: zoom-in;\n transition: transform 200ms ease;\n}\n\n.medium-zoom-overlay {\n z-index: 100;\n}\n\n.medium-zoom-image {\n cursor: zoom-out;\n z-index: 101;\n}\n\n.medium-zoom--opened [data-zoomable] {\n cursor: default;\n}\n", "section-switcher.css": `/* Generated by scripts/sync-astro-styles.mjs from @dogsbay/docs-layout section-switcher.css. Do not edit. */
|
|
6027
|
+
/*
|
|
6028
|
+
* The section menu's entries (section-switcher.ts). One short class per
|
|
6029
|
+
* entry instead of a Tailwind list repeated on each: Cloudflare's menu has
|
|
6030
|
+
* 115 entries, and the repeated classes were 17.7 KB of every page.
|
|
6031
|
+
* Plain CSS over the theme tokens, so dogsbay-ssg copies this file as it is.
|
|
6032
|
+
*/
|
|
6033
|
+
.db-section-link {
|
|
6034
|
+
display: flex;
|
|
6035
|
+
border-radius: calc(var(--radius) - 4px);
|
|
6036
|
+
padding: 0.375rem 0.5rem;
|
|
6037
|
+
color: var(--foreground);
|
|
6038
|
+
text-decoration: none;
|
|
6039
|
+
}
|
|
6040
|
+
.db-section-link:hover {
|
|
6041
|
+
background-color: var(--accent);
|
|
6042
|
+
}
|
|
6043
|
+
.db-section-link[aria-current="true"] {
|
|
6044
|
+
background-color: var(--accent);
|
|
6045
|
+
font-weight: 500;
|
|
6046
|
+
}
|
|
6047
|
+
`, "ssg.css": `/*
|
|
6027
6048
|
* dogsbay-ssg additions to the Astro styles (docs.css, theme-*.css).
|
|
6028
6049
|
*
|
|
6029
6050
|
* Parts that elements create at run time (lazy nav rows, the select's
|
|
@@ -6265,7 +6286,9 @@ async function buildSiteCss(o2) {
|
|
|
6265
6286
|
"./code-rich.css": THEME_CSS["code-rich.css"],
|
|
6266
6287
|
"./api.css": THEME_CSS["api.css"],
|
|
6267
6288
|
"./ssg.css": THEME_CSS["ssg.css"],
|
|
6268
|
-
"./image-zoom.css": THEME_CSS["image-zoom.css"] ?? ""
|
|
6289
|
+
"./image-zoom.css": THEME_CSS["image-zoom.css"] ?? "",
|
|
6290
|
+
// No fallback: a stale src/generated without it would leave the section menu unstyled, silently.
|
|
6291
|
+
"./section-switcher.css": THEME_CSS["section-switcher.css"]
|
|
6269
6292
|
};
|
|
6270
6293
|
o2.extra.forEach((e2, i) => files[`./extra-${i}.css`] = e2.css);
|
|
6271
6294
|
const input = [
|
|
@@ -6278,6 +6301,7 @@ async function buildSiteCss(o2) {
|
|
|
6278
6301
|
'@import "./api.css";',
|
|
6279
6302
|
'@import "./ssg.css";',
|
|
6280
6303
|
'@import "./image-zoom.css";',
|
|
6304
|
+
'@import "./section-switcher.css";',
|
|
6281
6305
|
...o2.extra.map((_3, i) => `@import "./extra-${i}.css";`)
|
|
6282
6306
|
].join("\n");
|
|
6283
6307
|
const compiler = await Ef(input, {
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
contentType
|
|
5
|
-
} from "./chunk-CMGKSS45.mjs";
|
|
6
3
|
import {
|
|
7
4
|
cliMemorySettings,
|
|
8
5
|
diagramRenderers,
|
|
@@ -28,6 +25,7 @@ import {
|
|
|
28
25
|
readText,
|
|
29
26
|
readTopicMaps,
|
|
30
27
|
rebuildUnitLazy,
|
|
28
|
+
servedRoot,
|
|
31
29
|
siteCssBuilder,
|
|
32
30
|
siteFileFor,
|
|
33
31
|
sourceRoot,
|
|
@@ -35,7 +33,10 @@ import {
|
|
|
35
33
|
translationTables,
|
|
36
34
|
versionsOf,
|
|
37
35
|
writeTranslationStubs
|
|
38
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-3PP2BG3D.mjs";
|
|
37
|
+
import {
|
|
38
|
+
contentType
|
|
39
|
+
} from "./chunk-CMGKSS45.mjs";
|
|
39
40
|
import "./chunk-F6VRYHSY.mjs";
|
|
40
41
|
import "./chunk-YVSP26OS.mjs";
|
|
41
42
|
import "./chunk-Z7WUDBZV.mjs";
|
|
@@ -814,7 +815,7 @@ data: ${data ?? generation}
|
|
|
814
815
|
}
|
|
815
816
|
}
|
|
816
817
|
const server = createServer(async (req, res) => {
|
|
817
|
-
const base = cfg.
|
|
818
|
+
const base = servedRoot(cfg).slice(0, -1);
|
|
818
819
|
try {
|
|
819
820
|
const url = new URL(`http://x${req.url?.startsWith("/") ? "" : "/"}${req.url ?? "/"}`);
|
|
820
821
|
if (url.pathname === EVENTS) {
|
|
@@ -863,6 +864,13 @@ data: ${generation}
|
|
|
863
864
|
report();
|
|
864
865
|
return res.end(type === HTML ? inject(String(typeof body === "string" ? body : new TextDecoder().decode(body)), generation) : body);
|
|
865
866
|
}
|
|
867
|
+
if (url.pathname.endsWith("/") && path.endsWith("/") && path.length > 1 && failure === void 0) {
|
|
868
|
+
const page = await session.get(`${path.slice(0, -1)}.html`).catch(() => void 0);
|
|
869
|
+
if (page !== void 0) {
|
|
870
|
+
res.writeHead(301, { location: url.pathname.replace(/^\/+/, "/").replace(/\/+$/, "") + url.search });
|
|
871
|
+
return res.end();
|
|
872
|
+
}
|
|
873
|
+
}
|
|
866
874
|
let nf;
|
|
867
875
|
for (let d = path.split("/").slice(0, -1); !nf; d = d.slice(0, -1)) {
|
|
868
876
|
nf = await session.get([...d, "404.html"].join("/"));
|
|
@@ -3,7 +3,7 @@ import { createRequire as __cr } from 'node:module'; const require = __cr(import
|
|
|
3
3
|
import {
|
|
4
4
|
DEFAULT_HIGHLIGHT_CACHE_CHARS,
|
|
5
5
|
createHighlighter
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BYGBEPJ6.mjs";
|
|
7
7
|
import {
|
|
8
8
|
parseLineRanges
|
|
9
9
|
} from "./chunk-YVSP26OS.mjs";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
html_default
|
|
5
|
+
} from "./chunk-TIRB4ROQ.mjs";
|
|
6
|
+
import "./chunk-CUTL24GH.mjs";
|
|
7
|
+
import "./chunk-JRPXZBM2.mjs";
|
|
8
|
+
import "./chunk-STRHO6SY.mjs";
|
|
9
|
+
|
|
10
|
+
// node_modules/@shikijs/langs/dist/jinja-html.mjs
|
|
11
|
+
var lang = Object.freeze(JSON.parse(`{"displayName":"jinja-html","firstLineMatch":"^\\\\{% extends [\\"'][^\\"']+[\\"'] %}","foldingStartMarker":"(<(?i:(head|table|tr|div|style|script|ul|ol|form|dl))\\\\b.*?>|\\\\{%\\\\s*(block|filter|for|if|macro|raw))","foldingStopMarker":"(</(?i:(head|table|tr|div|style|script|ul|ol|form|dl))\\\\b.*?>|\\\\{%\\\\s*(end(?:block|filter|for|if|macro|raw))\\\\s*%})","name":"jinja-html","patterns":[{"include":"source.jinja"},{"include":"text.html.basic"}],"scopeName":"text.html.jinja","embeddedLangs":["html"]}`));
|
|
12
|
+
var jinja_html_default = [
|
|
13
|
+
...html_default,
|
|
14
|
+
lang
|
|
15
|
+
];
|
|
16
|
+
|
|
17
|
+
// node_modules/@shikijs/langs/dist/jinja.mjs
|
|
18
|
+
var lang2 = Object.freeze(JSON.parse(`{"displayName":"Jinja","foldingStartMarker":"(\\\\{%\\\\s*(block|filter|for|if|macro|raw))","foldingStopMarker":"(\\\\{%\\\\s*(end(?:block|filter|for|if|macro|raw))\\\\s*%})","name":"jinja","patterns":[{"begin":"(\\\\{%)\\\\s*(raw)\\\\s*(%})","captures":{"1":{"name":"entity.other.jinja.delimiter.tag"},"2":{"name":"keyword.control.jinja"},"3":{"name":"entity.other.jinja.delimiter.tag"}},"end":"(\\\\{%)\\\\s*(endraw)\\\\s*(%})","name":"comment.block.jinja.raw"},{"include":"#comments"},{"begin":"\\\\{\\\\{-?","captures":[{"name":"variable.entity.other.jinja.delimiter"}],"end":"-?}}","name":"variable.meta.scope.jinja","patterns":[{"include":"#expression"}]},{"begin":"\\\\{%-?","captures":[{"name":"entity.other.jinja.delimiter.tag"}],"end":"-?%}","name":"meta.scope.jinja.tag","patterns":[{"include":"#expression"}]}],"repository":{"comments":{"begin":"\\\\{#-?","captures":[{"name":"entity.other.jinja.delimiter.comment"}],"end":"-?#}","name":"comment.block.jinja","patterns":[{"include":"#comments"}]},"escaped_char":{"match":"\\\\\\\\x[0-9A-F]{2}","name":"constant.character.escape.hex.jinja"},"escaped_unicode_char":{"captures":{"1":{"name":"constant.character.escape.unicode.16-bit-hex.jinja"},"2":{"name":"constant.character.escape.unicode.32-bit-hex.jinja"},"3":{"name":"constant.character.escape.unicode.name.jinja"}},"match":"(\\\\\\\\U\\\\h{8})|(\\\\\\\\u\\\\h{4})|(\\\\\\\\N\\\\{[ A-Za-z]+})"},"expression":{"patterns":[{"captures":{"1":{"name":"keyword.control.jinja"},"2":{"name":"variable.other.jinja.block"}},"match":"\\\\s*\\\\b(block)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\b"},{"captures":{"1":{"name":"keyword.control.jinja"},"2":{"name":"variable.other.jinja.filter"}},"match":"\\\\s*\\\\b(filter)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\b"},{"captures":{"1":{"name":"keyword.control.jinja"},"2":{"name":"variable.other.jinja.test"}},"match":"\\\\s*\\\\b(is)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\b"},{"captures":{"1":{"name":"keyword.control.jinja"}},"match":"(?<=\\\\{%-?)\\\\s*\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(?!\\\\s*[,=])"},{"match":"\\\\b(and|else|if|in|import|not|or|recursive|with(out)?\\\\s+context)\\\\b","name":"keyword.control.jinja"},{"match":"\\\\b(true|false|none)\\\\b","name":"constant.language.jinja"},{"match":"\\\\b(loop|super|self|varargs|kwargs)\\\\b","name":"variable.language.jinja"},{"match":"[A-Z_a-z][0-9A-Z_a-z]*","name":"variable.other.jinja"},{"match":"([-+]|\\\\*\\\\*?|//|[%/])","name":"keyword.operator.arithmetic.jinja"},{"captures":{"1":{"name":"punctuation.other.jinja"},"2":{"name":"variable.other.jinja.filter"}},"match":"(\\\\|)([A-Z_a-z][0-9A-Z_a-z]*)"},{"captures":{"1":{"name":"punctuation.other.jinja"},"2":{"name":"variable.other.jinja.attribute"}},"match":"(\\\\.)([A-Z_a-z][0-9A-Z_a-z]*)"},{"begin":"\\\\[","captures":[{"name":"punctuation.other.jinja"}],"end":"]","patterns":[{"include":"#expression"}]},{"begin":"\\\\(","captures":[{"name":"punctuation.other.jinja"}],"end":"\\\\)","patterns":[{"include":"#expression"}]},{"begin":"\\\\{","captures":[{"name":"punctuation.other.jinja"}],"end":"}","patterns":[{"include":"#expression"}]},{"match":"([,.:|])","name":"punctuation.other.jinja"},{"match":"(==|<=|=>|[<>]|!=)","name":"keyword.operator.comparison.jinja"},{"match":"=","name":"keyword.operator.assignment.jinja"},{"begin":"\\"","beginCaptures":[{"name":"punctuation.definition.string.begin.jinja"}],"end":"\\"","endCaptures":[{"name":"punctuation.definition.string.end.jinja"}],"name":"string.quoted.double.jinja","patterns":[{"include":"#string"}]},{"begin":"'","beginCaptures":[{"name":"punctuation.definition.string.begin.jinja"}],"end":"'","endCaptures":[{"name":"punctuation.definition.string.end.jinja"}],"name":"string.quoted.single.jinja","patterns":[{"include":"#string"}]},{"begin":"@/","beginCaptures":[{"name":"punctuation.definition.regexp.begin.jinja"}],"end":"/","endCaptures":[{"name":"punctuation.definition.regexp.end.jinja"}],"name":"string.regexp.jinja","patterns":[{"include":"#simple_escapes"}]}]},"simple_escapes":{"captures":{"1":{"name":"constant.character.escape.newline.jinja"},"2":{"name":"constant.character.escape.backlash.jinja"},"3":{"name":"constant.character.escape.double-quote.jinja"},"4":{"name":"constant.character.escape.single-quote.jinja"},"5":{"name":"constant.character.escape.bell.jinja"},"6":{"name":"constant.character.escape.backspace.jinja"},"7":{"name":"constant.character.escape.formfeed.jinja"},"8":{"name":"constant.character.escape.linefeed.jinja"},"9":{"name":"constant.character.escape.return.jinja"},"10":{"name":"constant.character.escape.tab.jinja"},"11":{"name":"constant.character.escape.vertical-tab.jinja"}},"match":"(\\\\\\\\\\\\n)|(\\\\\\\\\\\\\\\\)|(\\\\\\\\\\")|(\\\\\\\\')|(\\\\\\\\a)|(\\\\\\\\b)|(\\\\\\\\f)|(\\\\\\\\n)|(\\\\\\\\r)|(\\\\\\\\t)|(\\\\\\\\v)"},"string":{"patterns":[{"include":"#simple_escapes"},{"include":"#escaped_char"},{"include":"#escaped_unicode_char"}]}},"scopeName":"source.jinja","embeddedLangs":["jinja-html"]}`));
|
|
19
|
+
var jinja_default = [
|
|
20
|
+
...jinja_html_default,
|
|
21
|
+
lang2
|
|
22
|
+
];
|
|
23
|
+
export {
|
|
24
|
+
jinja_default as default
|
|
25
|
+
};
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
releaseDiff,
|
|
10
10
|
releaseExitCode,
|
|
11
11
|
releaseRedirects
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UD7FKVWY.mjs";
|
|
13
13
|
import {
|
|
14
14
|
buildUnits,
|
|
15
15
|
parseConfig,
|
|
16
16
|
readBuildFiles,
|
|
17
17
|
versionsOf
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3PP2BG3D.mjs";
|
|
19
19
|
import "./chunk-F6VRYHSY.mjs";
|
|
20
20
|
import "./chunk-YVSP26OS.mjs";
|
|
21
21
|
import "./chunk-Z7WUDBZV.mjs";
|
|
@@ -48,6 +48,13 @@ async function handle(root, reqUrl, res, ifNoneMatch) {
|
|
|
48
48
|
return res.end(await readFile(c));
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
+
if (url.pathname.endsWith("/") && path !== "/") {
|
|
52
|
+
const page = `${base.replace(/[\\/]+$/, "")}.html`;
|
|
53
|
+
if (inside(root, page) && await isFile(page)) {
|
|
54
|
+
res.writeHead(301, { location: url.pathname.replace(/^\/+/, "/").replace(/\/+$/, "") + url.search });
|
|
55
|
+
return res.end();
|
|
56
|
+
}
|
|
57
|
+
}
|
|
51
58
|
let d = dirname(base);
|
|
52
59
|
while (inside(root, d)) {
|
|
53
60
|
const nf = join(d, "404.html");
|
package/cli.mjs
CHANGED
|
@@ -37,16 +37,16 @@ async function main() {
|
|
|
37
37
|
usage(1);
|
|
38
38
|
}
|
|
39
39
|
if (wantsHelp(args)) usage(0, cmd);
|
|
40
|
-
if (cmd === "build") return (await import("./chunks/build-command-
|
|
41
|
-
if (cmd === "assemble") return (await import("./chunks/build-command-
|
|
42
|
-
if (cmd === "check") return (await import("./chunks/check-command-
|
|
43
|
-
if (cmd === "publish") return (await import("./chunks/publish-command-
|
|
40
|
+
if (cmd === "build") return (await import("./chunks/build-command-6V6AGPOG.mjs")).runBuild(args, HIGHLIGHT_WORKER);
|
|
41
|
+
if (cmd === "assemble") return (await import("./chunks/build-command-6V6AGPOG.mjs")).runBuild(args, HIGHLIGHT_WORKER, { assemble: true });
|
|
42
|
+
if (cmd === "check") return (await import("./chunks/check-command-D4HGVXOZ.mjs")).runCheck(args);
|
|
43
|
+
if (cmd === "publish") return (await import("./chunks/publish-command-YQGB62XI.mjs")).runPublish(args);
|
|
44
44
|
if (cmd === "release-diff") {
|
|
45
45
|
const from = option(args, "--from")[0];
|
|
46
46
|
const gitFrom = option(args, "--git-from")[0];
|
|
47
47
|
const o = { from, gitFrom, json: flag(args, "--json"), write: flag(args, "--write"), candidates: flag(args, "--candidates"), strict: flag(args, "--strict") };
|
|
48
48
|
const project = resolve(positional(args, "."));
|
|
49
|
-
const { runReleaseDiff } = await import("./chunks/release-diff-
|
|
49
|
+
const { runReleaseDiff } = await import("./chunks/release-diff-72QRSL4O.mjs");
|
|
50
50
|
process.exitCode = await runReleaseDiff(project, o);
|
|
51
51
|
return;
|
|
52
52
|
}
|
|
@@ -58,7 +58,7 @@ async function main() {
|
|
|
58
58
|
const llms = flag(args, "--llms");
|
|
59
59
|
const project = resolve(positional(args, "."));
|
|
60
60
|
const t0 = performance.now();
|
|
61
|
-
const { dev, readyLine, serverUrl } = await import("./chunks/dev-
|
|
61
|
+
const { dev, readyLine, serverUrl } = await import("./chunks/dev-FL4PALW2.mjs");
|
|
62
62
|
const { server } = await dev(project, port, { diagrams: !noDiagrams, lazy, search: noSearchDev ? false : void 0, llms, token: process.env.DOGSBAY_DEV_TOKEN || void 0, listening: (s) => console.log(readyLine(s)) });
|
|
63
63
|
console.log(`dev server for ${project} at ${serverUrl(server)} (ready in ${Math.round(performance.now() - t0)} ms); watching for changes`);
|
|
64
64
|
return;
|
|
@@ -66,7 +66,7 @@ async function main() {
|
|
|
66
66
|
if (cmd === "serve") {
|
|
67
67
|
const port = Number(option(args, "-p", "--port")[0] ?? 4400);
|
|
68
68
|
const dir = resolve(positional(args, "out"));
|
|
69
|
-
const { serve } = await import("./chunks/serve-
|
|
69
|
+
const { serve } = await import("./chunks/serve-66FDB2G5.mjs");
|
|
70
70
|
await serve(dir, port);
|
|
71
71
|
console.log(`serving ${dir} at http://127.0.0.1:${port}/`);
|
|
72
72
|
return;
|
package/highlight-worker.mjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
createHighlighter
|
|
5
|
-
} from "./chunks/chunk-
|
|
5
|
+
} from "./chunks/chunk-BYGBEPJ6.mjs";
|
|
6
6
|
import "./chunks/chunk-YVSP26OS.mjs";
|
|
7
7
|
import "./chunks/chunk-G6OTOD3B.mjs";
|
|
8
8
|
import "./chunks/chunk-STRHO6SY.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dogsbay/ssg-cli",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.172",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The dogsbay-ssg command: build, check, preview and publish Dogsbay-MD documentation sites that work offline",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"NOTICE"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dogsbay/icons": "0.2.0-beta.
|
|
21
|
+
"@dogsbay/icons": "0.2.0-beta.172",
|
|
22
22
|
"@mermanjs/web-render": "0.9.3"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
require_dist
|
|
5
|
-
} from "./chunk-IZF74GZZ.mjs";
|
|
6
3
|
import {
|
|
7
4
|
lib_default
|
|
8
5
|
} from "./chunk-Z7WUDBZV.mjs";
|
|
6
|
+
import {
|
|
7
|
+
require_dist
|
|
8
|
+
} from "./chunk-IZF74GZZ.mjs";
|
|
9
9
|
import {
|
|
10
10
|
__toESM
|
|
11
11
|
} from "./chunk-STRHO6SY.mjs";
|