Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

ntno
Copy link
Owner

@ntno ntno commented Feb 6, 2023

links to previous page / next page

adds the footer.prev_next theme feature. when enabled, 'Previous' and 'Next' links will be added to each page footer. Previous/Next page ordering is based on the site's navigation tree.

prev/next displayed to the right of the site's copyright info. if the screen width is too narrow (less than 50em), the prev/next links are placed underneath the site's copyright info:

default placement

prev-next-on-right

narrow placement

prev-next-at-bottom-when-screen-too-narrow

Testing

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR or in mkdocs-terminal/documentation
  • All active GitHub checks for tests, formatting, and security are passing

@ntno ntno added the enhancement New feature or request label Apr 15, 2023
@ntno ntno changed the title prev next navigation links previous/next page links Apr 15, 2023
@ntno ntno merged commit 49c5972 into main Apr 15, 2023
@ntno ntno deleted the prev-next branch April 15, 2023 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant