Skip to content

feat(docs): add robots.txt, sitemap, and per-page canonicals - #1965

Merged
h4yfans merged 1 commit into
mainfrom
docs-sitemap-robots-canonicals-1927
Sep 2, 2026
Merged

feat(docs): add robots.txt, sitemap, and per-page canonicals#1965
h4yfans merged 1 commit into
mainfrom
docs-sitemap-robots-canonicals-1927

Conversation

@h4yfans

@h4yfans h4yfans commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Enable VitePress's built-in sitemap generation (sitemap: { hostname: 'https://docs.memrynote.com' }), no extra dependency needed
  • Add apps/docs/src/public/robots.txt pointing crawlers at the sitemap
  • Add per-page canonical URLs via transformHead in the VitePress config
  • Replace the shared boilerplate meta description with real per-page descriptions on the top-level guide/overview pages (install, first-run, tour, architecture, contributing, features, roadmap)
  • Add the docs sitemap URL to the landing site's llms.txt (created — none existed)

Test plan

  • pnpm docs:build succeeds and generates sitemap.xml + robots.txt in the output dir
  • Verified canonical link tags render correctly (e.g. /guide/installhttps://docs.memrynote.com/guide/install, index → https://docs.memrynote.com/)
  • Verified per-page meta description renders on guide/install

Closes #1927

Enable VitePress's built-in sitemap generation, add robots.txt pointing
to it, set a per-page canonical link via transformHead, and replace the
shared boilerplate meta description with real descriptions on the
top-level guide and overview pages. Also add the docs sitemap URL to
the landing site's llms.txt.

Closes #1927
@github-actions github-actions Bot added documentation Improvements or additions to documentation enhancement New feature or request labels Sep 2, 2026
@h4yfans
h4yfans marked this pull request as ready for review September 2, 2026 17:38
@h4yfans
h4yfans merged commit 003a59e into main Sep 2, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[seo] docs.memrynote.com has no robots.txt, sitemap, or canonicals

1 participant