@vite-hub/docs 0.7.0 → 0.9.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.
Files changed (73) hide show
  1. package/README.md +1 -1
  2. package/dist/{assistant-shared-JcfjK-qg.js → assistant-shared-BmCHVfEd.js} +0 -1
  3. package/dist/assistant-worker.js +1 -1
  4. package/dist/assistant.js +1 -1
  5. package/dist/{content-Chgcvz1q.js → content-Df5eeqTg.js} +1 -3
  6. package/dist/{draft-rOGhtXch.js → draft-CYScbH80.js} +1 -2
  7. package/dist/index.js +1 -1
  8. package/dist/{manifest-CQMreQZ5.js → manifest-BgBIScEV.js} +1 -17
  9. package/dist/{markdown-BzZkYb24.js → markdown-DgQg53dB.js} +0 -28
  10. package/dist/navigation.js +0 -2
  11. package/dist/nuxt.d.ts +1 -1
  12. package/dist/nuxt.js +5 -44
  13. package/dist/object-ycNFay7F.js +6 -0
  14. package/dist/primitive-rail.js +0 -4
  15. package/dist/runtime/app/assistant/DocsAssistant.vue +0 -3
  16. package/dist/runtime/app/assistant/DocsAssistantOff.vue +0 -2
  17. package/dist/runtime/app/assistant/DocsAssistantPanel.vue +0 -12
  18. package/dist/runtime/app/components/DocsAppShell.vue +0 -7
  19. package/dist/runtime/app/components/DocsArticle.vue +0 -8
  20. package/dist/runtime/app/components/DocsAsideFooter.vue +0 -5
  21. package/dist/runtime/app/components/DocsAsideLeftBody.vue +0 -18
  22. package/dist/runtime/app/components/DocsBrandMark.vue +0 -6
  23. package/dist/runtime/app/components/DocsCodePanel.vue +0 -19
  24. package/dist/runtime/app/components/DocsMarkdown.vue +0 -9
  25. package/dist/runtime/app/components/DocsPage.vue +0 -10
  26. package/dist/runtime/app/components/DocsPageCredits.vue +0 -1
  27. package/dist/runtime/app/components/DocsSidebars.vue +0 -8
  28. package/dist/runtime/app/components/OgImage/DocsPage.takumi.vue +0 -2
  29. package/dist/runtime/app/components/content/AgentOnly.vue +0 -1
  30. package/dist/runtime/app/components/content/CodeTree.vue +0 -6
  31. package/dist/runtime/app/components/content/ComarkHtml.vue +0 -9
  32. package/dist/runtime/app/components/content/Correct.vue +0 -1
  33. package/dist/runtime/app/components/content/Example.vue +0 -11
  34. package/dist/runtime/app/components/content/Examples.vue +0 -4
  35. package/dist/runtime/app/components/content/Incorrect.vue +0 -1
  36. package/dist/runtime/app/components/content/McpClient.vue +0 -5
  37. package/dist/runtime/app/components/content/McpInstall.vue +0 -4
  38. package/dist/runtime/app/components/content/PageList.vue +0 -11
  39. package/dist/runtime/app/components/content/ProductFeatureItem.vue +0 -3
  40. package/dist/runtime/app/components/content/ProductFeatures.vue +0 -3
  41. package/dist/runtime/app/composables/docs-assistant-problem.ts +0 -8
  42. package/dist/runtime/app/composables/docs-theme.ts +0 -6
  43. package/dist/runtime/app/composables/headerActions.ts +0 -1
  44. package/dist/runtime/app/composables/icons.ts +0 -1
  45. package/dist/runtime/app/composables/seo.ts +0 -11
  46. package/dist/runtime/app/composables/tutorial.ts +0 -8
  47. package/dist/runtime/app/composables/useDocsAssistant.ts +0 -2
  48. package/dist/runtime/app/error.vue +0 -4
  49. package/dist/runtime/app/layouts/docs.vue +0 -6
  50. package/dist/runtime/app/middleware/docs-layout.ts +0 -9
  51. package/dist/runtime/app/plugins/comark-css.ts +0 -5
  52. package/dist/runtime/app/plugins/icon-stroke.ts +0 -3
  53. package/dist/runtime/app/plugins/theme-color.ts +0 -5
  54. package/dist/runtime/app/utils/docs-theme.ts +0 -9
  55. package/dist/runtime/app/utils/file-tree.ts +0 -4
  56. package/dist/runtime/server/llms.js +1 -1
  57. package/dist/runtime/server/markdown.js +2 -7
  58. package/dist/runtime/server/mcp.js +1 -1
  59. package/dist/runtime/server/page.js +2 -2
  60. package/dist/runtime/server/raw.js +1 -1
  61. package/dist/runtime/server/search.js +2 -3
  62. package/dist/runtime/server/sitemap.js +1 -1
  63. package/dist/runtime/theme/design.css +1 -1
  64. package/dist/runtime/theme/vitehub.css +386 -0
  65. package/dist/{schema-CmSiwC4t.js → schema-fumnVoRZ.js} +1 -3
  66. package/dist/server.js +2 -2
  67. package/dist/snapshot-worker.mjs +0 -5
  68. package/dist/theme-DowEsyAx.js +516 -0
  69. package/dist/{theme-CgJRnVdT.d.ts → theme-aPbJMLsc.d.ts} +0 -6
  70. package/dist/theme.d.ts +1 -1
  71. package/dist/theme.js +1 -1
  72. package/package.json +12 -12
  73. package/dist/theme-DRktv19v.js +0 -235
@@ -6,30 +6,20 @@ import { useDocsConfig } from "./docs"
6
6
  export interface DocsSeoInput {
7
7
  title: string
8
8
  description?: string | null
9
- /** Section label in the share image and the breadcrumb, such as `KV`. */
10
9
  section?: { title: string, path: string } | null
11
- /** A path in `public/` or a URL for the share image, or `false` for none. Without it the build renders one. */
12
10
  image?: string | false
13
- /** `article` marks the page a TechArticle in Schema.org. */
14
11
  type?: "article" | "page"
15
12
  }
16
13
 
17
- /**
18
- * Title, description, share image, and Schema.org of a page. Docs pages call it with their frontmatter; an app page,
19
- * such as a playground, calls it to look the same when shared.
20
- */
21
14
  export function useDocsSeo(input: DocsSeoInput): void {
22
15
  const { site, appBase, ogImage } = useDocsConfig()
23
16
  const route = useRoute()
24
17
  const path = docsAppPath(normalizeDocsPath(route.path), appBase)
25
- // A section's own Overview names the section already.
26
18
  const section = input.section && input.section.path !== path ? input.section : null
27
19
  const description = input.description ?? site.description ?? undefined
28
20
  useSeoMeta({ title: input.title, ogTitle: input.title, description, ogDescription: description, ogType: input.type === "article" ? "article" : "website" })
29
21
 
30
22
  if (input.image === false) {
31
- // Null overrides inherited head tags before Unhead removes them from the rendered page.
32
- // A `summary` card tells share previews and the search check that the page has no image on purpose.
33
23
  useSeoMeta({ twitterCard: "summary", ogImage: null, ogImageUrl: null, ogImageSecureUrl: null, ogImageType: null, ogImageWidth: null, ogImageHeight: null, ogImageAlt: null, twitterImage: null, twitterImageAlt: null })
34
24
  }
35
25
  else if (input.image) {
@@ -44,7 +34,6 @@ export function useDocsSeo(input: DocsSeoInput): void {
44
34
  description: description ?? "",
45
35
  site: site.name,
46
36
  section: section?.title ?? "",
47
- // A path, so the prerender reads the file from the build instead of fetching the site before it is deployed.
48
37
  logo: site.logo ? site.logo.src : "",
49
38
  host: site.url.replace(/^https?:\/\//, ""),
50
39
  })
@@ -2,9 +2,6 @@ import { useCookie, useState } from "#imports"
2
2
  import { docsTutorialNavigationCookie } from "#docs/navigation"
3
3
  import { nextTick } from "vue"
4
4
 
5
- // A page with a collapsed sidebar, such as a code panel tutorial, starts with a narrow strip so the content gets the
6
- // page. Its button opens the sidebar. A cookie keeps the choice, so the server renders the same layout on the next
7
- // visit and nothing jumps.
8
5
  export function useDocsSidebarExpanded() {
9
6
  return useCookie<boolean>(docsTutorialNavigationCookie, {
10
7
  default: () => false,
@@ -13,13 +10,8 @@ export function useDocsSidebarExpanded() {
13
10
  })
14
11
  }
15
12
 
16
- /** Ids of the buttons that open and collapse the sidebar. Only one of them is on the page at a time. */
17
13
  export const docsSidebarToggleIds = { show: "vh-docs-sidebar-show", hide: "vh-docs-sidebar-hide" } as const
18
14
 
19
- /**
20
- * Opens or collapses the sidebar and focuses the opposite control after the DOM updates, whether the component mounts
21
- * or only its toggle prop changes.
22
- */
23
15
  export function useDocsSidebarToggle() {
24
16
  const expanded = useDocsSidebarExpanded()
25
17
  const focus = useState<string | null>("vh-docs-sidebar-focus", () => null)
@@ -4,12 +4,10 @@ import { useState } from "#imports"
4
4
 
5
5
  import { useDocsConfig } from "./docs"
6
6
 
7
- /** The docs assistant panel state. Any component can open it, for example an "Ask" link in the page header. */
8
7
  export function useDocsAssistant() {
9
8
  const config = useDocsConfig()
10
9
  const open = useState("docs-assistant-open", () => false)
11
10
  return {
12
- /** The Agent name, or `undefined` when `docs.assistant` is off. */
13
11
  agent: computed(() => config.assistant ? config.assistant.agent : undefined),
14
12
  open,
15
13
  toggle: (value = !open.value) => { open.value = value },
@@ -9,8 +9,6 @@ const props = defineProps<{
9
9
 
10
10
  const config = useDocsConfig()
11
11
  const manifest = useDocsManifest()
12
- // Nuxt 5 names the code `status`. An error that the server rendered reaches the client as a plain object, which has no
13
- // `statusCode` getter.
14
12
  const status = computed(() => props.error.status ?? props.error.statusCode)
15
13
  const isNotFound = computed(() => status.value === 404)
16
14
  const title = computed(() => isNotFound.value ? "Page not found" : "This page failed to load")
@@ -19,7 +17,6 @@ const description = computed(() => isNotFound.value
19
17
  : "Reload the page to try again. If it still fails, search the docs or open one of these sections.")
20
18
 
21
19
  const start = manifest.sections.find(section => section.id === config.start?.section)
22
- // Each link opens a real page. Without `content/docs/index.md` the docs base itself is a 404, so "Docs" opens the first section.
23
20
  const docsHome = docsHomePath(manifest, config.start)
24
21
  const sections = [
25
22
  ...docsHome ? [{ label: "Docs", to: docsHome }] : [],
@@ -27,7 +24,6 @@ const sections = [
27
24
  ...(config.start?.links ?? []).filter(link => link.to !== config.base),
28
25
  ].filter((link, index, links) => links.findIndex(other => other.to === link.to) === index)
29
26
 
30
- // The error page replaces the app shell, so it mounts the search dialog that the header button and Ctrl K open.
31
27
  const { open: openSearch } = useContentSearch()
32
28
 
33
29
  useSeoMeta({
@@ -3,17 +3,11 @@ import { isDocsWorkspaceLayout } from "#docs/navigation"
3
3
 
4
4
  const { banner } = useDocsConfig()
5
5
  const found = useDocsPage()
6
- // A tutorial with a code panel uses the whole page column, half for prose and half for files.
7
6
  const hasCodePanel = computed(() => found.value?.page.codePanel === true)
8
- // Pages show the sidebar unless they set `sidebar: false`. A page with `sidebar: "collapsed"`, and a code panel tutorial,
9
- // shows a narrow strip until the reader opens the sidebar.
10
7
  const sidebar = useDocsSidebar()
11
- // A `playground` or `learn` page, and an app page that sets `sidebar: "collapsed"` in its page meta, fill the viewport
12
- // under the header. Markdown pages with a collapsed sidebar, and code panel tutorials, keep the window scroll.
13
8
  const route = useRoute()
14
9
  const fills = computed(() => isDocsWorkspaceLayout(found.value?.page.layout) || (sidebar.value.collapsible && route.meta.sidebar === "collapsed"))
15
10
 
16
- // The sidebar sits on the left edge of the viewport on every docs page. The page content centers in the remaining space.
17
11
  const docsShellUi = {
18
12
  root: "lg:!flex lg:!flex-row lg:!items-start lg:!gap-0",
19
13
  left: "lg:!w-(--vh-sidebar-width) lg:shrink-0",
@@ -4,20 +4,11 @@ import panels from "#docs/panels"
4
4
  import { docsAppPath, docsSectionForPath, findDocsPage, isDocsWorkspaceLayout, loadDocsPanels } from "#docs/navigation"
5
5
  import { articleLayout } from "#docs/shell"
6
6
 
7
- // A docs page renders in the docs shell whichever app page serves its path. A page outside the docs base, such as
8
- // `/about`, is a plain article under the site header, and a `home` page is its own blocks under it. A page that
9
- // `start.links` lists opens inside the start section, so it gets the shell too. With an app-owned `app.vue`, plain
10
- // articles use `docs-article`, so the app keeps its `default` layout.
11
7
  export default defineNuxtRouteMiddleware(async (to, from) => {
12
- // The pages inside a panel load when the reader opens it, before anything reads the manifest for this route.
13
8
  await loadDocsPanels(manifest, to.path, panels)
14
9
  const found = findDocsPage(manifest, to.path)
15
10
  if (found) to.meta.layout = isDocsWorkspaceLayout(found.page.layout) || (found.page.layout !== "home" && (found.section || found.page.path === manifest.root?.path || isDocsStartLink(useDocsConfig(), to.path))) ? "docs" : articleLayout
16
- // A new page that exists only as a Content draft renders in the shell of its section.
17
11
  else if (docsSectionForPath(manifest, to.path)) to.meta.layout = "docs"
18
- // No docs page and no app page answers the path, but the host may: a static app copied into the output, such as a
19
- // playground at `/play/`, or a file in `public/`. A client navigation would draw the docs 404 for it, so the browser
20
- // loads it. The first load and a reload come from the server already, so they never reach this.
21
12
  else if (import.meta.client && from.matched.length > 0 && to.name === "docs-page" && to.path !== from.path)
22
13
  return navigateTo(docsAppPath(to.fullPath, useRuntimeConfig().app.baseURL), { external: true })
23
14
  })
@@ -1,11 +1,6 @@
1
1
  import file, { names } from "#docs/comark-css"
2
2
  import { defineNuxtPlugin, useHead, useRuntimeConfig } from "#imports"
3
3
 
4
- // The comark-ui stylesheet that every page needs, the error page too. It is a public asset, so its URL follows Nuxt's
5
- // rule for those: below `app.cdnURL` when set, else below `app.baseURL`. Both are read at runtime, since
6
- // `NUXT_APP_BASE_URL` and `NUXT_APP_CDN_URL` can change them after the build.
7
- // The link goes after the app's CSS, where the components add their styles, since some of their unlayered rules tie
8
- // with the app's and must still win. Its `data-comark-<name>` attributes tell each component its styles are on the page.
9
4
  export default defineNuxtPlugin(() => {
10
5
  const { baseURL, cdnURL } = useRuntimeConfig().app
11
6
  const base = (cdnURL || baseURL).replace(/\/*$/, "/")
@@ -1,9 +1,6 @@
1
1
  import { docsIconStroke } from "#docs/navigation"
2
2
  import { defineNuxtPlugin, useAppConfig, useDocsConfig } from "#imports"
3
3
 
4
- // Lucide draws its lines 2px wide. The docs draw them at `docs.icons.stroke`, 1.5px by default, the stroke of the
5
- // ViteHub set, so a section icon and the page icons under it look like one set. A site that sets `icon.customize` in
6
- // its app config keeps its own.
7
4
  export default defineNuxtPlugin(() => {
8
5
  const icon = useAppConfig().icon
9
6
  const { stroke } = useDocsConfig().icons
@@ -1,10 +1,6 @@
1
1
  import { defineNuxtPlugin, nextTick, ref, useHead, watch } from "#imports"
2
2
  import { ownsApp } from "#docs/shell"
3
3
 
4
- // The browser bar matches the page canvas: the `--ui-bg` of the design system, read from the page, so the theme stays
5
- // the only place that names the color. It follows the mode that the reader picks. A plugin, and not `app.vue`, so the
6
- // error page has it too. An app with its own `app.vue` keeps its browser bar color. Prerendered HTML has no value, and
7
- // browsers use their own bar color until the app starts.
8
4
  export default defineNuxtPlugin((nuxtApp) => {
9
5
  if (!ownsApp || import.meta.server) return
10
6
  const color = ref<string>()
@@ -12,7 +8,6 @@ export default defineNuxtPlugin((nuxtApp) => {
12
8
  color.value = getComputedStyle(document.documentElement).backgroundColor || undefined
13
9
  }
14
10
  nuxtApp.hook("app:mounted", read)
15
- // The color mode module sets the class on `<html>` after the value changes, so read after that render.
16
11
  watch(() => nuxtApp.$colorMode?.value, () => nextTick(() => requestAnimationFrame(read)))
17
12
  useHead({ meta: [{ name: "theme-color", content: color }] })
18
13
  })
@@ -1,19 +1,12 @@
1
- // A Nuxt app maps `defu` to its package folder, where its types are `export =`. Only a default import reads them.
2
1
  import defu from "defu"
3
2
 
4
3
  type DocsThemeUi = Record<string, unknown>
5
4
 
6
- /** What Nuxt UI's `<UTheme>` takes: slot classes per component in `ui`, and default props per component in `props`. */
7
5
  export interface DocsThemeScope {
8
6
  ui: Record<string, unknown>
9
7
  props: Record<string, unknown>
10
8
  }
11
9
 
12
- /**
13
- * The theme as `<UTheme>` props, for the docs pages of an app with its own `app.vue`. The app's `app.config.ts` then
14
- * stays as written on the app's own pages. `<UTheme>` sets slot classes and default props only, so the docs pages keep
15
- * the app's colors, icons, and variant classes, such as the color of a callout.
16
- */
17
10
  export function docsThemeScope(theme: DocsThemeUi): DocsThemeScope {
18
11
  const scope: DocsThemeScope = { ui: {}, props: {} }
19
12
  for (const [name, entry] of Object.entries(theme)) {
@@ -24,7 +17,6 @@ export function docsThemeScope(theme: DocsThemeUi): DocsThemeScope {
24
17
  if (Object.keys(prose.props).length) scope.props.prose = prose.props
25
18
  continue
26
19
  }
27
- // A component with one element has a `base` class instead of slots, and reads it from `ui.base`.
28
20
  const slots = isRecord(entry.slots) ? entry.slots : typeof entry.base === "string" ? { base: entry.base } : null
29
21
  if (slots) scope.ui[name] = slots
30
22
  if (isRecord(entry.defaultVariants)) scope.props[name] = entry.defaultVariants
@@ -32,7 +24,6 @@ export function docsThemeScope(theme: DocsThemeUi): DocsThemeScope {
32
24
  return scope
33
25
  }
34
26
 
35
- /** Resolve the live app config above the docs defaults, without adding a scope to standalone docs sites. */
36
27
  export function resolveDocsTheme(scope: DocsThemeScope, ui: DocsThemeUi = {}): DocsThemeScope {
37
28
  if (!Object.keys(scope.ui).length && !Object.keys(scope.props).length) return scope
38
29
  return defu(docsThemeScope(ui), scope)
@@ -4,10 +4,6 @@ export type FileTreeRow = FileTreeFolderRow | FileTreeFileRow
4
4
 
5
5
  type Folder = { folders: Map<string, Folder>; files: { name: string; path: string; index: number }[] }
6
6
 
7
- /**
8
- * Lays out file paths as an editor file tree: folders first, then files, each sorted by name.
9
- * `index` keeps the position of the path in the input, so callers can map a row back to its file.
10
- */
11
7
  export function buildFileTree(paths: readonly string[]): FileTreeRow[] {
12
8
  const root: Folder = { folders: new Map(), files: [] }
13
9
  paths.forEach((path, index) => {
@@ -1,4 +1,4 @@
1
- import { n as docsContent } from "../../content-Chgcvz1q.js";
1
+ import { n as docsContent } from "../../content-Df5eeqTg.js";
2
2
  import { defineContentLlmsHandler } from "@vite-hub/content";
3
3
  // src/runtime/server/llms.ts
4
4
  /** `/llms.txt`, `/llms-full.txt`, and `/sitemap.md`, from Content. The build prerenders them. */
@@ -3,13 +3,8 @@ import { useRuntimeConfig } from "nitro/runtime-config";
3
3
  import { defineContentMarkdownHandler } from "@vite-hub/content/markdown";
4
4
  import { serverFetch } from "nitro";
5
5
  // src/runtime/server/markdown.ts
6
- /**
7
- * The Markdown copy of each app page that is not a docs page, at its URL plus `.md` and for `Accept: text/markdown`.
8
- * Content converts the HTML that Nitro renders for the same request. nuxt-agent-discovery answers the docs pages first.
9
- * Content loads on the first request that asks for Markdown or gets an HTML page.
10
- */
11
- const markdown = defineContentMarkdownHandler(() => import("../../content-Chgcvz1q.js").then((n) => n.t).then((module) => module.docsMarkdownContent()), { render: (request) => serverFetch(request) });
12
- const rawMarkdown = defineContentMarkdownHandler(() => import("../../content-Chgcvz1q.js").then((n) => n.t).then((module) => module.docsMarkdownContent(true)));
6
+ const markdown = defineContentMarkdownHandler(() => import("../../content-Df5eeqTg.js").then((n) => n.t).then((module) => module.docsMarkdownContent()), { render: (request) => serverFetch(request) });
7
+ const rawMarkdown = defineContentMarkdownHandler(() => import("../../content-Df5eeqTg.js").then((n) => n.t).then((module) => module.docsMarkdownContent(true)));
13
8
  const handler = async (event, next) => {
14
9
  const path = new URL(event.req.url).pathname;
15
10
  const raw = docsAppPath("/raw/", useRuntimeConfig().public.docs.appBase);
@@ -1,4 +1,4 @@
1
- import { n as docsContent } from "../../content-Chgcvz1q.js";
1
+ import { n as docsContent } from "../../content-Df5eeqTg.js";
2
2
  import { defineContentMcpHandler } from "@vite-hub/content";
3
3
  // src/runtime/server/mcp.ts
4
4
  /** The docs MCP server at `/mcp`, with the `list-pages` and `get-page` tools of Content. */
@@ -1,4 +1,4 @@
1
- import { a as parseDocsDocument, r as readDocsPage } from "../../content-Chgcvz1q.js";
1
+ import { a as parseDocsDocument, r as readDocsPage } from "../../content-Df5eeqTg.js";
2
2
  import { findDocsPage } from "../../navigation.js";
3
3
  import { i as docsPageResponse } from "../../page-DWsretqk.js";
4
4
  import manifest from "#docs/manifest";
@@ -9,7 +9,7 @@ import { content } from "#docs/content";
9
9
  const handler = defineHandler(async (event) => {
10
10
  const path = `/${(getRouterParam(event, "_") ?? "").replace(/\.json$/, "")}`;
11
11
  if (content && (content.preview.active() || content.preview.frame())) {
12
- const { docsDraftResponse } = await import("../../draft-rOGhtXch.js");
12
+ const { docsDraftResponse } = await import("../../draft-CYScbH80.js");
13
13
  const draft = await docsDraftResponse(content, manifest, path, parseDocsDocument);
14
14
  if (draft) {
15
15
  event.res.headers.set("cache-control", "private, no-store");
@@ -1,4 +1,4 @@
1
- import { i as readDocsRawCopy } from "../../content-Chgcvz1q.js";
1
+ import { i as readDocsRawCopy } from "../../content-Df5eeqTg.js";
2
2
  import { HTTPError, defineHandler } from "nitro/h3";
3
3
  // src/runtime/server/raw.ts
4
4
  /**
@@ -1,10 +1,9 @@
1
1
  import { docsIndexedPages, docsManifestPages, docsPanelSearchSections, docsUnindexedSearchSections } from "../../navigation.js";
2
- import { a as docsSearchSections } from "../../markdown-BzZkYb24.js";
3
- import { r as readDocsPage } from "../../content-Chgcvz1q.js";
2
+ import { a as docsSearchSections } from "../../markdown-DgQg53dB.js";
3
+ import { r as readDocsPage } from "../../content-Df5eeqTg.js";
4
4
  import manifest from "#docs/manifest";
5
5
  import { defineHandler } from "nitro/h3";
6
6
  // src/runtime/server/search.ts
7
- /** Every page split by heading, read through the Content of the page route, for the search dialog. The build prerenders it. */
8
7
  async function buildIndex() {
9
8
  const sections = [];
10
9
  for (const page of docsIndexedPages(manifest)) {
@@ -1,5 +1,5 @@
1
1
  import { docsCanonicalUrl } from "../../navigation.js";
2
- import { n as docsContent } from "../../content-Chgcvz1q.js";
2
+ import { n as docsContent } from "../../content-Df5eeqTg.js";
3
3
  import { useRuntimeConfig } from "nitro/runtime-config";
4
4
  import { defineHandler } from "nitro/h3";
5
5
  // ../internal/dist/sitemap.js
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * The docs design, after the comark-ui site: column widths, a faint grain on the page, prose, highlighted code, and the
3
- * search modal. Colors, radii, fonts, and focus come from the ViteHub design system (`@vite-hub/ui/theme.css`), which
3
+ * search modal. Colors, radii, fonts, and focus come from the ViteHub design system (`vitehub.css`), which
4
4
  * the module scopes to `.vh-docs` before this file, so comark-ui's blocks, which read the Nuxt UI variables, follow along.
5
5
  */
6
6