You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We needed to set merge_docs_dir to false to be able to specify the test docs like this docs/test.md in the nav section. This was the only way we could get the edit_uri to work properly (if there is another way please let me know).
By setting merge_docs_dir to false the docs get rendered correctly and the edit_uri works as expected. The problem is now, that mkdocs prints out this info message during the build:
INFO - The following pages exist in the docs directory, but are not included in the "nav" configuration:
- docs/test.md
- The plugin copies the README and the CHANGELOG additionaly into the docs dir, which is not necessary because it's already in the root dir. (My bad, I had copied the README and CHANGELOG into the docs folder)
I don't understand whys mkdocs thinks that the docs/test.md is not included in the nav section. It is included and it gets rendered correctly. I assume it has something to do with the docs_dir that the simple plugin is setting?!
This is a bit confusing for our users. Is there a way to fix this?
The text was updated successfully, but these errors were encountered:
Thanks for your quick reply. I have managed to resolve the issue. It seems that the main issue was that I copied the files into the wrong place.
I still get the error for the docs/test.md but only in one specific repository. I could also not reproduce the error in a new repository. I will try to find out what it is and will report back here.
First thanks for your great plugin and all the work you put into it.
We're experiencing a problem when using files from the root dir like the
README.md
and files from thedocs
dir likedocs/test.md
.Our folder structure looks like this:
The
mkdocs.yml
looks like this:We needed to set merge_docs_dir to false to be able to specify the test docs like this
docs/test.md
in the nav section. This was the only way we could get the edit_uri to work properly (if there is another way please let me know).By setting merge_docs_dir to false the docs get rendered correctly and the edit_uri works as expected. The problem is now, that mkdocs prints out this info message during the build:
- The plugin copies the README and the CHANGELOG additionaly into the docs dir, which is not necessary because it's already in the root dir.(My bad, I had copied the README and CHANGELOG into the docs folder)docs/test.md
is not included in the nav section. It is included and it gets rendered correctly. I assume it has something to do with the docs_dir that the simple plugin is setting?!This is a bit confusing for our users. Is there a way to fix this?
The text was updated successfully, but these errors were encountered: