Repository navigation
Combine the manual and docs into one place - #24
Merged
Merged
Conversation
The manual's content becomes six guides in a new Pseudocode reference group under /docs, in English and Chinese. /manual and /app/manual redirect to /docs, the Manual nav and footer links go, and the editor's modal now shows the docs guides and remembers the last one opened. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: 19655156-0a10-4aec-8d7d-352acf2ec4b4) |
This branch had an error being deployed
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.
The site had two overlapping places to learn: the Manual and the Docs. They had their own nav links, and the editor modal only showed the Manual. Now everything lives in
/docs./manual,/app/manualand their/zhversions redirect permanently (308) to/docs. The Manual nav, footer and sitemap entries are gone.Every docs example must compile, and the compiler rejected two claims in the old manual. They're corrected:
LCASE/UCASEtake aSTRING, andROUNDreturns aREAL. The reference pages use the slugschoosing-a-loopandreading-writing-filesbecauseloopsandfile-handlingwere already taken by lessons. Separately, a CSS reset fixes a bug that already affected public pages: every line of a code block was shaded by the inline-code style.Proof:
pnpm test(236 passed),pnpm typecheckandpnpm lintpass.curlagainst a dev server showed all three redirect paths landing on the right docs page. Playwright screenshots of the docs index, a reference page, the editor modal and the Chinese mobile view showed no page errors. A new test opens the editor's Docs modal, switches guides, and checks the choice survives closing and reopening.Reviewed with sol-loop: 1 round with gpt-6.1-sol. Sol verdict: approved
Generated by
claude-opus-5-5using theClaude Code (T3 Code)harness.🤖 Generated with Claude Code
Note
Low Risk
Large content and routing refactor with 308 redirects and nav changes; no auth, payments, or data-handling logic touched.
Overview
Manual and Docs are one surface now. The standalone
/manualand/app/manualexperiences (pages,ManualContent, nav/footer links) are removed. That material lives under/docsas a new Pseudocode reference unit alongside the existing Using PseudoEditor studio guides, in EN/ZH doc content. The docs index lists both units; routing usesisGuide()/guideUnitIdsinstead of hard-coding thepseudoeditorunit only.Permanent redirects send
/manual,/app/manual, and localized paths to/docs. Sitemap and metadata drop manual URLs; copy and SEO strings describe docs as studio + reference.The editor “Manual” modal becomes “Docs”. A new
DocsPanelloads guide content viaguidesByLocale(lessons not bundled), with sidebar or mobile picker, “open in new tab”, and remembered last guide slug when reopening. Toolbar/settings labels switch to Docs.Shared docs plumbing:
CopyableCodeBlockmoves undercomponents/docs, uses i18n instead ofmanualText, and CSS renames manual-specific classes to generic.code-block(plus a prose fix so code lines aren’t double-shaded). The duplicatesyntaxguide is removed frompseudoeditorin favor of the reference pages.Reviewed by Cursor Bugbot for commit f34e8ba. Bugbot is set up for automated code reviews on this repo. Configure here.