Skip to content

Fix navigation docs meta descriptions and /docs/navigation 404 - #21

Merged
mfazekas merged 2 commits into
mainfrom
seo/nav-docs-meta
Oct 26, 2026
Merged

mfazekas merged 2 commits into
mainfrom
seo/nav-docs-meta

Conversation

@mfazekas

Copy link
Copy Markdown
Contributor

Adds description (and the index title) front matter to docs/navigation/api, as generated by rnmapbox/navigation#15, so the pages stop using the generated-file comment as their meta description. Only the front matter changed: the API bodies stay at the published 0.1.0-alpha.1, because regenerating from navigation main would also publish unreleased API changes.

Also adds @docusaurus/plugin-client-redirects to redirect /docs/navigation, which was a 404, to /docs/navigation/overview. That page stays canonical, and the redirect isn't in the sitemap.

Same front matter rnmapbox/navigation's generator emits, so the pages
stop using the generated-file comment as their meta description.
@mfazekas
mfazekas merged commit a0ca6c3 into main Oct 26, 2026
1 check 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