fix(docs): correct o1js navigation pagination between introduction and basic concepts pages#1113
Open
wamimi wants to merge 1 commit intoMinaProtocol:mainfrom
Open
fix(docs): correct o1js navigation pagination between introduction and basic concepts pages#1113wamimi wants to merge 1 commit intoMinaProtocol:mainfrom
wamimi wants to merge 1 commit intoMinaProtocol:mainfrom
Conversation
…d basic concepts pages
|
@wamimi is attempting to deploy a commit to the Mina Foundation's projects Team on Vercel. A member of the Team first needs to authorize it. |
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.
Problem
The "Next" button on the o1js Introduction page was incorrectly:
Displaying "Introduction" as the button text instead of "Basic Concepts"
Linking back to the Introduction page instead of advancing to the Basic Concepts page
This caused a broken navigation flow for users trying to progress through the o1js documentation.
Solution
Added explicit pagination configuration to both documentation files:
docs/zkapps/o1js/index.mdx: Added pagination_next: zkapps/o1js/basic-concepts
docs/zkapps/o1js/basic-concepts.md: Added pagination_prev: zkapps/o1js/index
Result
"Next" button on Introduction page now correctly shows "Basic Concepts"
Navigation properly advances to /zkapps/o1js/basic-concepts
"Previous" button on Basic Concepts page correctly links back to Introduction
Maintains proper documentation flow through the o1js section
Testing
[x] Verified navigation works correctly in both directions
[x] Confirmed button text displays correctly
Type of change: Bug fix
Area: Documentation navigation