Skip to content

docs: emit SEO front matter in the generated API reference - #15

Merged
mfazekas merged 1 commit into
mainfrom
docs/seo-front-matter
Oct 26, 2026
Merged

mfazekas merged 1 commit into
mainfrom
docs/seo-front-matter

Conversation

@mfazekas

@mfazekas mfazekas commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Docusaurus took the {/* Generated from … */} comment as the meta description of every API page and titled the API index "index". The plugin now writes a description built from the symbol's TSDoc summary (falling back to " API reference for @rnmapbox/navigation, …") and a title for the index.

rnmapbox/maps-docs#21 applies the same front matter to the pages that are live now; the next release's update-docs run regenerates them from this.

Docusaurus used the generated-file comment as each page's meta
description and titled the API index "index". Emit a description from
the TSDoc summary (with a package fallback) and a title for the index.
@mfazekas
mfazekas merged commit 20dae20 into main Oct 26, 2026
6 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