chunky-dev / docs

Chunky website and documentation.
https://chunky-dev.github.io/docs/
Other
1 stars 8 forks source link

Navigation links at the bottom of the page can point to excluded pages #86

Closed Peregrine05 closed 1 year ago

Peregrine05 commented 1 year ago

Issue with #85

When docs are built for a particular Chunky version, pages that are excluded from the build are not shown in the nav. However, when the page that was excluded is the previous or next page, the Next/Previous button at the bottom of the page still points to that excluded page, and clicking that button leads to a 404 error.

An example at the time of this writing is this page: https://chunky-dev-docs-pr-85.surge.sh/docs/reference/user_interface/chunky_gui/

Click the Next button at the bottom of the page to reproduce the issue.

Peregrine05 commented 1 year ago

A temporary solution (proposed by leMaik) could be to disable the navigation links until a proper solution presents itself. While not ideal, the docs do remain fully navigable.

leMaik commented 1 year ago

Fixed it the proper way: image