Patch Changes
-
#229
a04304cThanks @MohamedH1998! - - A page or reusable snippet with only frontmatter builds, and its Markdown version is just its title and source.- A snippet included inside a list item or quote keeps that structure in the page's Markdown version.
llms.txtnames each section for its index page's title, such as "Guides" instead ofguides.- Documentation search results link to the page itself instead of a URL ending in
#, and excerpts no longer include the page actions. - The Markdown version of an API page names each field as the page does, with its full coordinate beside it for citing.
-
#232
d655e86Thanks @MohamedH1998! - - API pages link to the previous and next page in sidebar order, even when a group is collapsed.- Error responses start collapsed; a link to one, or to a field inside it, opens it.
- A sidebar link to an API or docs-version mount, such as
/api, no longer warns. - Operations that fall back to a coordinate route print one summary line, so other warnings stay visible.
- Samples and the endpoint card keep a server URL's query after the path.
- Response toggles meet 4.5:1 contrast in light mode, field anchors work on touch screens, and "Authorisation" reads "Authorization".
-
#211
4a841cbThanks @MohamedH1998! - - Addbundle: falseto anapientry to serve a very large or many-version API from static assets instead of the server bundle. Unchanged pages are shared across versions, and unchanged versions aren't prepared again on rebuild. Needssrc/live.config.tsregisteringapiPagesLoaderfrom@cloudflare/nimbus-docs/live; the build shows the snippet. The build suggests the option when an API's bundled page data passes 16 MiB.- Add
getVersionSwitchUrlandgetApiVersionHeadfor version pickers and heads in every rendering mode; the starter's picker and API layout use them.
- Add
-
#212
94ebe52Thanks @MohamedH1998! - API pages show the sidebar filter. Withsidebar: "on-demand"it also finds pages the sidebar hasn't loaded. -
#214
825ffcfThanks @MohamedH1998! - API reference pages show the version picker for versioned APIs, in the sidebar and the mobile navigation. -
#240
381b37aThanks @MohamedH1998! - -og:image:widthandog:image:heightdescribe the image: generated cards stay 1200 × 630, asocialImagefile inpublic/is measured at build time, and any other image gets no size tags.NimbusHeadtakessocialImageSizeto set them for an image Nimbus can't measure.- The sitemap has
<lastmod>on every documentation page, from frontmatterlastUpdatedor the page's last commit, and/sitemap.xmlis a copy ofsitemap-index.xmlunless the site serves its own. - The starter's
BaseLayoutpassessocialImageSizethrough toNimbusHead, and the 404 page recipe writes the new title andnoindex. - On a shallow clone, pages get no git dates instead of the wrong one, and the build says how to fetch the history.
- The 404 page's title is
Page not found | <site>and the page isnoindex.
- The sitemap has
-
#233
1f2ce43Thanks @MohamedH1998! - - New sites open content images at full size on click. On an existing site, runnimbus-docs add image-zoomand render<ImageZoom />insrc/layouts/DocsLayout.astro. -
#224
79b05efThanks @MohamedH1998! - - Newmarkdown.featuresoption turns on Sätteri syntax, such as{ headingAttributes: true }for## Install {#install}or{ math: true }. Pages, generated Markdown, reusable snippets and lint all follow it. New sites start with heading ids on.- Generated Markdown drops
{/* comments */}. - Invalid MDX reports the file, line and fix instead of an internal error.
- Generated Markdown drops
-
#236
fb759c5Thanks @MohamedH1998! - - With the section route atsrc/pages/[...section]/llms.txt.ts, each sub-folder gets its ownllms.txt, and its parent's index links to it under "Sections". New sites have this route; a[section]route keeps today's one index per top-level section.- An
llms-full.txtover 25 MiB becomes an index of onellms-full.txtper section, split further where a section is still too big, so the site deploys to Cloudflare. LlmsEndpointReference(from@cloudflare/nimbus-docs/agent-endpoints) addssurface: "full"on section references, for the per-sectionllms-full.txtfiles.
- An
-
#216
647471aThanks @sansynx! - Keep version-switcher entries exposed as navigation links, with the current page identified byaria-current, instead of listbox options -
#230
25d21cfThanks @MohamedH1998! - - Server scaffolds for Node, Vercel, and Netlify render docs pages on request, so Markdown negotiation works on them.- Scaffold into
.or an empty folder, including a freshly cloned repository. - New repositories get a first commit; scaffolding inside an existing repository no longer creates a nested one.
npm createinstalls a handful of packages instead of the whole framework.- A missing package manager fails before anything is written, and a mistyped flag suggests the right one.
- Yarn sites ignore
.yarn/the way Yarn recommends, and pin Yarn inside a folder that pins another package manager. - The starter's
AGENT.mdexplains sidebar groups, order, and links. nimbus-docs checkand--helpshow commands for your package manager.
- Scaffold into
-
#224
79b05efThanks @MohamedH1998! - Starter fixes:- The theme toggle no longer submits a surrounding form, reports its state to screen readers, and still switches when storage is blocked.
- Closing a dialog no longer releases another overlay's scroll lock.
- "Copy page" works in Safari, and a failed command copy shows it failed.
- In search, Enter on the close button closes the dialog, and status messages are announced.
<Render>params can't replace registered components; small fixes to breadcrumbs and the mobile table of contents.- Banner content is rendered as written, like the rest of the site's content.
-
#223
c39fdfcThanks @MohamedH1998! - The docs version picker no longer appears on pages outside the docs versions, such as API reference and blog pages.