chore: remove GitBook migration layer and unused assets#290
Open
chore: remove GitBook migration layer and unused assets#290
Conversation
The process-gitbook.js script was a transitional compatibility layer from the GitBook-to-Starlight migration. The sidebar config is now manually maintained in astro.config.mjs, no GitBook markdown syntax remains in the content, and none of the 119 assets in public/docs/gitbook/ are referenced anywhere. This removes the script, the unused assets, the gray-matter and js-yaml dependencies, and cleans up the build scripts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
✅ Deploy Preview for mezo-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
The 11 translated 404 pages had an incorrect relative import path (5 levels up instead of 6) for RedirectScript.astro, causing the build to fail. Previously masked by process-gitbook.js rewriting paths at build time. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Collaborator
Author
|
got tired of seeing the github failed build lol. I removed it from the app integrations as well |
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
scripts/process-gitbook.js— a transitional script from the GitBook-to-Starlight migration that is no longer needed. The sidebar config inastro.config.mjsis already manually maintained, and no GitBook markdown syntax remains in any content files.public/docs/gitbook/(images, PDFs) — none are referenced anywhere in the codebase.gray-matterandjs-yamldependencies — only used by the deleted script.npm run devandnpm run buildno longer run the gitbook processing step, which was also overwriting manual sidebar edits on every build.Test plan
npm run devstarts cleanly without the gitbook processing stepnpm run buildpasses (same pre-existing 404 issue as main, unrelated)~/assets/gitbook/orpublic/docs/gitbook/🤖 Generated with Claude Code