mkdocs-exclude icon indicating copy to clipboard operation
mkdocs-exclude copied to clipboard

Option to also exclude navigation entries

Open Griperis opened this issue 2 years ago • 0 comments

When inheriting from some base template for e.g. internal and external documentation, it's desirable to exclude internal contents from the external documentation, but keep one nav definition in the base template, so there don't have to be duplicate navigation definitions.

We use exclude to exclude the files, but the navigation headers still remain. This PR introduces a new exclude-nav option (opt-in) that also entries from navigation if they reference any of the specified filepaths.

Griperis avatar Feb 02 '23 15:02 Griperis