Skip to content

docs: features category#330

Merged
lazarv merged 5 commits intomainfrom
docs/features
Mar 3, 2026
Merged

docs: features category#330
lazarv merged 5 commits intomainfrom
docs/features

Conversation

@lazarv
Copy link
Owner

@lazarv lazarv commented Mar 3, 2026

What

  • Rename the "Framework" docs category to "Features" across all pages (en/ja), navigation, messages, and config
  • Add raw markdown (.md) endpoints for all docs pages, accessible via /{path}.md (e.g. /guide/quick-start.md)
  • Add a small ".md" button on all docs content pages linking to the raw markdown version
  • Add llms.txt to the public directory for AI/LLM discovery
  • Update README and CONTRIBUTING docs

Why

  • "Features" better describes the section's content
  • Raw markdown pages provide clean, JSX-free content for AI agents, LLMs, and crawlers
  • llms.txt follows the emerging convention for LLM-friendly site metadata

How

  • Moved all framework/ page files to features/ and updated all internal links and frontmatter references
  • Added an API route (md/GET.[...slug].server.mjs) that reads MDX sources, strips frontmatter/imports/JSX, and returns plain markdown
  • Middleware rewrites .md requests to the internal /md/ route
  • Static export config generates .md files for all docs pages at build time
  • Added ViewMarkdown button component to the root layout

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 3, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
react-server-docs 86920aa Commit Preview URL

Branch Preview URL
Mar 03 2026, 08:51 PM

@codecov-commenter
Copy link

codecov-commenter commented Mar 3, 2026

❌ 3 Tests Failed:

Tests completed Failed Passed Skipped
344 3 341 1
View the top 3 failed test(s) by shortest run time
__test__/deno.spec.mjs > create-react-server: deno runtime (npm) > preset: blank > starts in production mode
Stack Traces | 0.000948s run time
AssertionError: production start should work: expected false to be true // Object.is equality

- Expected
+ Received

- true
+ false

 ❯ __test__/deno.spec.mjs:74:66
__test__/deno.spec.mjs > create-react-server: deno runtime (npm) > preset: blank > builds the app
Stack Traces | 0.00139s run time
AssertionError: build should succeed: expected false to be true // Object.is equality

- Expected
+ Received

- true
+ false

 ❯ __test__/deno.spec.mjs:70:58
__test__/deno.spec.mjs > create-react-server: deno runtime (npm) > preset: blank > dev mode starts and serves the app
Stack Traces | 0.00905s run time
AssertionError: dev mode should work: expected false to be true // Object.is equality

- Expected
+ Received

- true
+ false

 ❯ __test__/deno.spec.mjs:66:56

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@lazarv lazarv merged commit 4bce46b into main Mar 3, 2026
108 of 110 checks passed
@lazarv lazarv deleted the docs/features branch March 3, 2026 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants