fsprojects / FSharp.Formatting

F# tools for generating documentation (Markdown processor and F# code formatter)
https://fsprojects.github.io/FSharp.Formatting/
Other
462 stars 155 forks source link

Add previous and next page url substitutions #846

Closed nojaf closed 9 months ago

nojaf commented 9 months ago

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.