Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .changeset/calm-prepared-artifacts.md

This file was deleted.

15 changes: 15 additions & 0 deletions packages/create-nimbus-docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @cloudflare/create-nimbus-docs

## 0.7.2

### Patch Changes

- [#114](https://github.com/cloudflare/nimbus/pull/114) [`3c0d794`](https://github.com/cloudflare/nimbus/commit/3c0d7940e50792acc6b1781e0c099026d60dbf1d) Thanks [@MohamedH1998](https://github.com/MohamedH1998)! - Generate deterministic Markdown versions for every public page, prepared MDX source versions for authored pages, `llms.txt` indexes, `llms-full.txt`, and merged partial headings at build time. Request-rendered pages now consume compact prepared heading data, and custom component transforms and partial resolvers are configured through `markdown.componentMap` and `markdown.partialResolver`. Worker bundles no longer include partial-expansion parsers. Calls to `renderEntryAsMarkdown` or `getEntryMarkdown` that still pass `<Render>` partials now fail instead of attempting runtime expansion; migrate custom Markdown routes to the prepared helpers exported by `@cloudflare/nimbus-docs/build`.

Rename prepared publication APIs without compatibility aliases: `TwinSurface` becomes `PreparedMarkdownSurface`, `PreparedTwin*` becomes `PreparedMarkdown*`, `PreparedCorpus*` becomes `PreparedLlms*`, `getPreparedTwin*` becomes `getPreparedMarkdown*`, `getPreparedCorpus*` becomes `getPreparedLlms*`, and `renderCorpusMarkdown` becomes `renderLlmsFullMarkdown`. Move integration customization from `twins.componentMap` and `twins.partialResolver` to `markdown.componentMap` and `markdown.partialResolver`.

Keep framework assets, metadata, starter navigation, and generated API links inside Astro's configured deployment base path. Replace the removed `withBaseRoute` runtime export with `withBase`; site-relative inputs to `withBase` must be logical, unbased paths.

Keep generated `.nimbus` build data out of source control, deduplicate sitemap roots on subpath deployments, and advertise prepared MDX source responses as `text/mdx` consistently across static and request rendering.

- Updated dependencies [[`3c0d794`](https://github.com/cloudflare/nimbus/commit/3c0d7940e50792acc6b1781e0c099026d60dbf1d)]:
- @cloudflare/nimbus-docs@0.13.0

## 0.7.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/create-nimbus-docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflare/create-nimbus-docs",
"version": "0.7.1",
"version": "0.7.2",
"private": false,
"publishConfig": {
"access": "public"
Expand Down
12 changes: 12 additions & 0 deletions packages/nimbus-docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @cloudflare/nimbus-docs

## 0.13.0

### Minor Changes

- [#114](https://github.com/cloudflare/nimbus/pull/114) [`3c0d794`](https://github.com/cloudflare/nimbus/commit/3c0d7940e50792acc6b1781e0c099026d60dbf1d) Thanks [@MohamedH1998](https://github.com/MohamedH1998)! - Generate deterministic Markdown versions for every public page, prepared MDX source versions for authored pages, `llms.txt` indexes, `llms-full.txt`, and merged partial headings at build time. Request-rendered pages now consume compact prepared heading data, and custom component transforms and partial resolvers are configured through `markdown.componentMap` and `markdown.partialResolver`. Worker bundles no longer include partial-expansion parsers. Calls to `renderEntryAsMarkdown` or `getEntryMarkdown` that still pass `<Render>` partials now fail instead of attempting runtime expansion; migrate custom Markdown routes to the prepared helpers exported by `@cloudflare/nimbus-docs/build`.

Rename prepared publication APIs without compatibility aliases: `TwinSurface` becomes `PreparedMarkdownSurface`, `PreparedTwin*` becomes `PreparedMarkdown*`, `PreparedCorpus*` becomes `PreparedLlms*`, `getPreparedTwin*` becomes `getPreparedMarkdown*`, `getPreparedCorpus*` becomes `getPreparedLlms*`, and `renderCorpusMarkdown` becomes `renderLlmsFullMarkdown`. Move integration customization from `twins.componentMap` and `twins.partialResolver` to `markdown.componentMap` and `markdown.partialResolver`.

Keep framework assets, metadata, starter navigation, and generated API links inside Astro's configured deployment base path. Replace the removed `withBaseRoute` runtime export with `withBase`; site-relative inputs to `withBase` must be logical, unbased paths.

Keep generated `.nimbus` build data out of source control, deduplicate sitemap roots on subpath deployments, and advertise prepared MDX source responses as `text/mdx` consistently across static and request rendering.

## 0.12.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/nimbus-docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflare/nimbus-docs",
"version": "0.12.0",
"version": "0.13.0",
"private": false,
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/nimbus-docs/src/cli/_registry.generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const REGISTRY_BASE_URL = "https://nimbus-docs.com/registry";

export const BUNDLED_INDEX: BundledIndex = {
"version": 1,
"registryVersion": "0.12.0",
"registryVersion": "0.13.0",
"items": {
"cn": {
"name": "cn",
Expand Down
2 changes: 1 addition & 1 deletion scripts/fixtures/api-reference/pnpm-lock.yaml.template

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading