Skip to content

fix(pages): add social metadata, robots.txt and sitemap for play.ledring.dev - #100

Merged
FelixFangX merged 1 commit into
mainfrom
feat/play-share-metadata
Oct 20, 2026
Merged

FelixFangX merged 1 commit into
mainfrom
feat/play-share-metadata

Conversation

@FelixFangX

Copy link
Copy Markdown
Owner

What

Adds share and search metadata to play.ledring.dev (GitHub Pages from docs/):

  • docs/play/index.html and its source template packages/play-web/index.html: canonical URL, og:type, og:url, og:image (+ width/height/alt), twitter:card=summary_large_image, twitter:image.
  • docs/index.html (Pages root): the same tags with its own canonical/og:url.
  • docs/assets/og-play.png: 1200×630 social image derived from the existing docs/assets/play.png.
  • docs/robots.txt (allow all, points to the sitemap) and docs/sitemap.xml listing the seven existing public pages (root, /play/, /demo/, four example reports).

Why

Links to Play shared on X or chat rendered without an image, and the site returned 404 for /robots.txt and /sitemap.xml.

Checks

Run locally on this branch: pnpm lint, pnpm typecheck, pnpm test (273 passed), node docs/demo/test-i18n.mjs, node scripts/capability-contracts.mjs, node scripts/motion-lint.mjs, pnpm build and node scripts/release-dry-run.mjs all pass. Rebuilding leaves docs/play/index.html unchanged, so source and output agree. All seven sitemap URLs return 200 today. No visible copy or i18n behavior changed.

…ing.dev

Adds canonical URLs, og:type/url/image and a summary_large_image Twitter card to the Pages root and Play (source template and built output), a 1200x630 og-play.png derived from play.png, robots.txt and a sitemap of the seven public pages.
@coderabbitai

coderabbitai Bot commented Oct 20, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 355c85f2-9935-4f85-8a53-477cf76b1a3d
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T07:19:37.938863Z caddbfc PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@FelixFangX
FelixFangX merged commit 7fe7661 into main Oct 20, 2026
4 checks passed
@FelixFangX
FelixFangX deleted the feat/play-share-metadata branch October 20, 2026 07:19
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