fix(seo): move top-level robots into metadata block (2 files)#25
Open
bblietz wants to merge 1 commit intorokudev:v2.0from
Open
fix(seo): move top-level robots into metadata block (2 files)#25bblietz wants to merge 1 commit intorokudev:v2.0from
bblietz wants to merge 1 commit intorokudev:v2.0from
Conversation
These 2 files had top-level `robots: index` and no `metadata:` block, diverging from the canonical frontmatter shape used in 547 of 582 docs. Move `robots` into a stub `metadata:` block so the SEO frontmatter backfill pipeline can populate `metadata.title`/`metadata.description` without producing duplicate `robots:` keys (PR #0a of the SEO sweep).
Author
|
Closing as redundant: the top-level |
Author
|
Re-opened: I closed this prematurely. The 2 Roku Channel files ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Two files had a top-level
robots: indexkey and nometadata:block, diverging from the canonical frontmatter shape used in 547 of 582 docs pages:docs/The Roku Channel/video-on-demand/title-avail-specifications.mddocs/The Roku Channel/live-linear/ovp-linear-ingest-spec.mdThis PR moves
robotsinto a stubmetadata:block in the canonical key-order position, so the SEO frontmatter backfill pipeline can populatemetadata.title/metadata.descriptionwithout producing duplicaterobots:keys.Diff
2 files changed, 8 insertions(+), 2 deletions(-). Each file: removed the top-levelrobots: indexline; inserted a 4-line stubmetadata:block in canonical position (afterhidden:, before any closing). No other content modified.Verification
Before: top-level
robots:present, nometadata:block. The SEO snapshot tool flagged both astop_level_robots without metadata block.After: top-level
robots:removed,metadata:block in canonical position withrobots: indexinside. Both files match the canonical 547-of-582 frontmatter shape.Context
This is PR #0a of an SEO frontmatter backfill effort that will populate
metadata.title,metadata.description, andexcerptacross all ~582 docs pages over a series of follow-up PRs. PR #0a fixes a corpus pre-condition (alongside PR #0 which removed a duplicate frontmatter block inad-requirements.md).🤖 Generated with Claude Code