v0.4.0
-
Find scripts relative to mkdocs.yml, not current working directory - #17
So, scripts specified in the config (example below), will now work regardless of where
mkdocs
is run from.Running just
mkdocs
assumesmkdocs -f mkdocs.yml
(current directory).But now you can also
cd docs; mkdocs -f ../mkdocs.yml
or any other combination.Example config, just as a reminder, no change here:
plugins: - gen-files: scripts: - docs/gen_pages.py