This page demonstrates the automatic pagination feature in shipyard docs.
Similar to Docusaurus, shipyard automatically adds “Previous” and “Next” navigation buttons at the bottom of each documentation page. These buttons help users navigate through your documentation in the order defined by your sidebar.
You can customize pagination using frontmatter:
---
paginationNext: path/to/next/page.md
paginationPrev: path/to/previous/page.md
paginationLabel: Custom Label for Prev/Next Buttons
---
To disable the next button:
---
paginationNext: null
---
To disable the previous button:
---
paginationPrev: null
---
To disable both:
---
paginationNext: null
paginationPrev: null
---
Look at the bottom of this page - you should see pagination buttons that let you navigate to the previous and next pages in the documentation.