Skip to content

v0.4.0

Compare
Choose a tag to compare
@oprypin oprypin released this 22 Aug 17:44
· 28 commits to master since this release
faf8012
  • 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 assumes mkdocs -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