Skip to content

feat: expose docs pages as markdown#25

Merged
Ziinc merged 1 commit into
mainfrom
ziinc/render-content-pages-as-.md
Jul 9, 2026
Merged

feat: expose docs pages as markdown#25
Ziinc merged 1 commit into
mainfrom
ziinc/render-content-pages-as-.md

Conversation

@Ziinc

@Ziinc Ziinc commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Motivation

  • Make content pages under learn and docs available as standalone .md assets so site pages can be referenced or consumed as raw markdown.

Description

  • Add CONTENT_SOURCES and functions collectMarkdownPages, normalizeMarkdown, and markdownOutputPath to gather and normalize .md/.mdx files.
  • Preserve existing global markdown data and emit normalized .md files during postBuild.
  • Export helpers for testing.

Testing

  • Verified helpers with a node assertion script validating path mapping and normalization.
  • Ran npm --prefix web run build and confirmed generated web/build/docs/intro.md, web/build/learn.md, and web/build/learn/concepts.md.
    [Codex Task](

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

🚀 Web preview deployed to: https://preview-25.treq-9zy.pages.dev

@Ziinc Ziinc merged commit be8ee72 into main Jul 9, 2026
4 checks passed
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.

1 participant