-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
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
mkdocs warns in normal operation when ...
nav entries are present
#107
Comments
Aha, I found that I can turn these particular warnings into info messages via
So that greatly reduces the urgency of this issue. However, I am leaving it open for the moment, because I'd suggest that perhaps there should be a way for mkdocs not to be concerned at all about these patterns at the point where these messages are being generated, but then perform the checks with more teeth after awesome-pages has done its work, so that these could be set back to warn and there would be a doublecheck on awesome-pages behavior. Perhaps you could set |
We have identified this issue too and it looks like the pages are not included or the WANING is misleading. It looks also related to #105 |
A portion of my nav in mkdocs.yml looks like:
However, it appears that even when all is well with a setup like this, mkdocs generates
(we do in fact have pages in both of these directories, and they do show up correctly in the built site). These warnings prevent us from getting the benefit of running with
mkdocs build --strict
in our test cycle to check for other mkdocs problems.I thought about trying to switch to using .pages files for generating the nav structure, but our desired navigation hierarchy doesn't correspond too well with our source code file layout, so we are using the mkdocs.yml nav property to do a fair amount of rearranging. Unless I am mistaken, I don't think .pages files can do that.
Is there a way to suppress just the warnings from mkdocs for
...
nav lines that awesome-pages is in fact going to fill in? Thanks for any help/pointers.The text was updated successfully, but these errors were encountered: