Skip to content

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

Merged
dkijania merged 1 commit into
MinaProtocol:mainfrom
wamimi:fix/o1js-navigation-pagination
Sep 14, 2026
Merged

dkijania merged 1 commit into
MinaProtocol:mainfrom
wamimi:fix/o1js-navigation-pagination

Conversation

@wamimi

@wamimi wamimi commented Jul 9, 2025

Copy link
Copy Markdown

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

@vercel

vercel Bot commented Jul 9, 2025

Copy link
Copy Markdown

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

@dkijania

dkijania commented Sep 6, 2026

Copy link
Copy Markdown
Member

Hey @wamimi can you fix conflicts ?

@wamimi
wamimi force-pushed the fix/o1js-navigation-pagination branch from 706e30f to 9ced528 Compare September 14, 2026 09:11
@wamimi

wamimi commented Sep 14, 2026

Copy link
Copy Markdown
Author

Hey @dkijania I have fixed the conflicts.

@dkijania
dkijania force-pushed the fix/o1js-navigation-pagination branch from 9ced528 to 8c6c764 Compare September 14, 2026 14:38
@dkijania
dkijania merged commit f2a784b into MinaProtocol:main Sep 14, 2026
2 of 3 checks passed
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.

2 participants