We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I wanted to use the convention known from mkdocs-awesome-pages plugin to put sub-navs into .pages files:
mkdocs-awesome-pages
.pages
- literate-nav: nav_file: .pages
Unforunately, it doesn't work. If I rename the file and the config to pages or pages.md - everything is okay, so it's clearly related to hidden files.
pages
pages.md
The text was updated successfully, but these errors were encountered:
References to relevant code:
mkdocs-literate-nav/mkdocs_literate_nav/plugin.py
Line 63 in 1b02eb7
https://github.com/mkdocs/mkdocs/blob/1779c181a32b62c89bdfbf888bf7e88a4fce58cf/mkdocs/structure/files.py#L30 https://github.com/mkdocs/mkdocs/blob/1779c181a32b62c89bdfbf888bf7e88a4fce58cf/mkdocs/structure/files.py#L230 https://github.com/mkdocs/mkdocs/blob/1779c181a32b62c89bdfbf888bf7e88a4fce58cf/mkdocs/structure/files.py#L253
Indeed, MkDocs excludes hidden files from the get-go, and mkdocs-literate-nav can't detect such files if it relies on that mechanism.
Thanks for the report. Maybe the implementation for finding the files can be changed.
Sorry, something went wrong.
No branches or pull requests
Hi, I wanted to use the convention known from
mkdocs-awesome-pages
plugin to put sub-navs into.pages
files:Unforunately, it doesn't work. If I rename the file and the config to
pages
orpages.md
- everything is okay, so it's clearly related to hidden files.The text was updated successfully, but these errors were encountered: