MkDocs plugin to allow placing mkdocs.yml in the same directory as documentation
pip install mkdocs-same-dir
Activate the plugin in mkdocs.yml, along with actually changing
(normally, MkDocs absolutely wouldn't let you set it to
and now you can move this mkdocs.yml into your docs directory, or move your docs alongside mkdocs.yml.
Another necessary effect of this plugin is that files directly at the root of the docs dir will no longer be picked up, unless they are Markdown files.
And note that the implementation of this plugin is a huge hack that monkeypatches MkDocs' internals. But I pledge to keep up with MkDocs updates and keep it working as long as that's still possible.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for mkdocs_same_dir-0.1.3-py3-none-any.whl