Skip to content

docs: SEO metadata, social cards, and sitemap for the docs site#314

Merged
scttfrdmn merged 1 commit into
mainfrom
docs/seo-metadata
Jun 3, 2026
Merged

docs: SEO metadata, social cards, and sitemap for the docs site#314
scttfrdmn merged 1 commit into
mainfrom
docs/seo-metadata

Conversation

@scttfrdmn
Copy link
Copy Markdown
Owner

Improves findability across both surfaces.

Docs site (this PR)

  • Meta: richer description, keywords, and canonical URL.
  • Social cards: Open Graph + Twitter summary_large_image tags, with a branded 1200×630 og-image.png (brand palette) so links unfurl nicely on social, Slack, etc. Absolute image URL (crawler requirement).
  • Crawlability: sitemap.xml (VitePress sitemap with hostname) + robots.txt pointing at it.
  • Polish: favicon.svg brand mark; cleanUrls for tidier shareable URLs (/scope not /scope.html — GitHub Pages serves both).

GitHub repo (already applied via API, not in this diff)

  • Homepagehttps://scttfrdmn.github.io/substrate/
  • 15 topics: aws, aws-emulator, testing, go, golang, cloudformation, terraform, aws-cdk, localstack-alternative, event-sourcing, infrastructure-as-code, mock, devops, boto3, integration-testing.

Verification

npm run build emits sitemap.xml, robots.txt, and the image assets; built HTML carries og:* / twitter:* / canonical with an absolute image URL. Deploys automatically to Pages on merge.

- Richer meta description + keywords; canonical URL.
- Open Graph + Twitter (summary_large_image) card tags with a branded
  1200x630 og-image.png (brand palette), for link unfurls on social/Slack/etc.
- sitemap.xml (VitePress sitemap with hostname) + robots.txt pointing at it,
  for search-engine crawling.
- favicon.svg (brand mark); cleanUrls for tidier, more shareable URLs.

GitHub repo metadata also set (separately, via API): homepage →
scttfrdmn.github.io/substrate, 15 discovery topics (aws, aws-emulator, testing,
cloudformation, terraform, localstack-alternative, event-sourcing, ...).

Verified: npm run build emits sitemap.xml + robots.txt + assets; built HTML
carries og:*/twitter:*/canonical with absolute image URL.
@scttfrdmn scttfrdmn merged commit c4dea8f into main Jun 3, 2026
9 checks passed
@scttfrdmn scttfrdmn deleted the docs/seo-metadata branch June 3, 2026 23:48
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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