fix(docs): repair orphaned title lines in 10 SEO pages (unblocks frontmatter gate)#54
Merged
Merged
Conversation
A prior bulk sweep left each of these 10 pages with a broken frontmatter block:
an old wrapped 'title:' whose head + dangling continuation fragment (e.g.
' exports required.') survived above the new scrubbed 'title:', so the second
line was an indented scalar following a complete scalar value — invalid YAML
('mapping values are not allowed here'). This turned scripts/validate_frontmatter.py
RED repo-wide, blocking every docs PR (the gate scans all files, not just the
PR's).
Fix: drop the 2 orphaned lines (old title head + its continuation) from each
file, keeping the correct scrubbed 'title:' and all other keys. Exactly 2
deletions per file, 20 total, zero body changes. Verified: repo-wide validator
now '✓ all frontmatter is valid' (exit 0, 1103 files); each file re-parses with
title + description intact.
Files: chatgpt-for-quickbooks, claude-for-hubspot, claude-for-shopify,
how-to-analyze-quickbooks-with-ai, hubspot-ai-reporting,
hubspot-sales-analytics-with-ai, quickbooks-ai-reporting,
quickbooks-business-intelligence, shopify-ai-analytics,
shopify-sales-analysis-with-ai.
Co-authored-by: Hermes Agent <dev@corpusiq.io>
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
Repairs broken YAML frontmatter in 10 SEO landing pages under
docs/, turning the repo-widevalidate_frontmatter.pygate from red back to green.The corruption
A prior bulk sweep (the em-dash scrub) left each of these 10 pages with a mangled frontmatter block. Concretely:
The old wrapped
title:(its head and a dangling continuation fragment likeexports required./optimization./and Claude.) survived above the new scrubbedtitle:. That indented fragment following an already-complete scalar is invalid YAML —mapping values are not allowed hereat line 2 — so every one of these files failed the parser.Why it mattered
scripts/validate_frontmatter.pyis a repo-wide gate: it scans every.mdfile and fails if any is broken. So these 10 pre-existing breakages were blocking every docs PR, not just their own — a clean new page showed a red check purely because of them.The fix
Drop the 2 orphaned lines (old title head + its dangling continuation) from each file, keeping the correct scrubbed
title:and all other keys untouched.git show --stat:10 files changed, 20 deletions(-)).title+descriptionintact), then applied, then re-checked.Verification
Repo-wide green. Each fixed page keeps its correct title (e.g.
ChatGPT for QuickBooks -- AI Accounting & Financial Analysis | CorpusIQ) and itsdescriptionfor the SEO meta tag.Scope
Standalone fix, deliberately not folded into the chat-apps docs PR (#53) — separate concern, clean diff, independently reviewable/revertable. #53's own check should go green once this merges (its content was never the cause).
Public surface — handing to Ted, not auto-merging.