Skip to content

fix(docs): correct o1js navigation pagination between introduction and basic concepts pages #1113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wamimi
Copy link

@wamimi wamimi commented Jul 9, 2025

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

Copy link

vercel bot commented Jul 9, 2025

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant