fix(website): restore refactoring changes lost during rebase#4537
fix(website): restore refactoring changes lost during rebase#4537NathanFlurry wants to merge 1 commit intographite-base/4537from
Conversation
|
🚅 Deployed to the rivet-pr-4537 environment in rivet-frontend
|
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
PR ReviewThis PR restores website refactoring changes lost during a rebase. It is primarily a large deletion PR removing the entire agent-os docs section, registry marketing pages, benchmark infrastructure, and associated utilities (-7589 lines net). Issues1. Missing redirects for deleted pages Three routes are deleted without corresponding entries in astro.config.mjs redirects:
If these were indexed or linked externally they will 404. At minimum /registry should redirect somewhere (e.g., /agent-os) since it is still referenced in the nav WHITE_THEMED_PATHS. 2. Stale entry in WHITE_THEMED_PATHS (Header.tsx) /registry remains in WHITE_THEMED_PATHS in Header.tsx even though registry.astro is deleted in this same PR. Dead entry should be removed. 3. Import ordering in Header.tsx const WHITE_THEMED_PATHS is declared at module scope between import statements (after the image imports but before import { cn }). It will not cause a runtime error, but it violates standard import-before-code module organization and may trip linters. 4. agent-os MDX docs deletion 25 MDX doc files under website/src/content/docs/agent-os/ are deleted (~4200 lines). The sitemap entry is also removed. Confirm these docs are intentionally retired and that any external deep links to /docs/agent-os/* are handled. The current astro.config.mjs has no redirects for those paths. Positives
|
6197aac to
914df74
Compare

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: