Skip to content
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

Add previous and next page url substitutions #846

Merged
merged 3 commits into from
Sep 15, 2023

Conversation

nojaf
Copy link
Collaborator

@nojaf nojaf commented Sep 14, 2023

This PR introduces {{fsdocs-previous-page-link}} and {{fsdocs-next-page-link}} substitutions.
These are convenient for navigating the user to the previous or next documentation page based on the categoryindex and index frontmatter metadata.
Right now in Fantomas, we do this manually 😔. (Sample)
Check out the unit test to see this new feature in action.

@nojaf nojaf merged commit 2c8e690 into fsprojects:main Sep 15, 2023
2 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