docs: restore sidebar nav labels and fix sentence case (94 pages)#11
Open
rachaelrenk wants to merge 1 commit intomainfrom
Open
docs: restore sidebar nav labels and fix sentence case (94 pages)#11rachaelrenk wants to merge 1 commit intomainfrom
rachaelrenk wants to merge 1 commit intomainfrom
Conversation
Audit and restore sidebar nav labels that were lost during the GitBook to Astro Starlight migration. Adds sidebar.label frontmatter to 94 pages: - Restore shortened nav labels from GitBook SUMMARY.md (e.g., 'Warp Drive Notebooks' shows as 'Notebooks' in sidebar, 'Terminal Block Basics' shows as 'Block basics') - Fix sentence case on nav labels per style guide (e.g., 'Block Actions' → 'Block actions', 'MCP Servers' → 'MCP servers') - Fix sentence case on existing guide sidebar.labels (12 guide pages) - Leave H1 titles unchanged (separate work) - Leave sidebar.ts structural overrides unchanged Co-Authored-By: Oz <oz-agent@warp.dev>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
Audit and restore sidebar nav labels that were lost during the GitBook → Astro Starlight migration. During the migration, GitBook's
SUMMARY.mdnav labels (often shorter than the page H1) weren't carried over — causing the full H1 title to display in the sidebar instead.This PR adds
sidebar.labelfrontmatter to 94 pages to restore the intended navigation labels and fix sentence case per the style guide.Changes
Restored shortened nav labels (from GitBook SUMMARY.md)
Pages where the nav label should be shorter than the H1:
Fixed sentence case on nav labels
Pages where the nav label (falling back from the title) used title case instead of sentence case:
Fixed sentence case on existing guide sidebar.labels
12 guide pages that already had
sidebar.labelbut used incorrect casing:What's NOT changed
/reference/api-and-sdk/troubleshooting/errors/— intentionally lowercaseHow it was done
scripts/audit-nav-labels.py) that compares GitBook SUMMARY.md labels against Astro frontmatterscripts/apply-nav-labels.pywhich parses the curated reportnpm run build(308 pages, zero errors)Artifacts
Co-Authored-By: Oz oz-agent@warp.dev