Mkdocs-gen-files

Latest version: v0.5.0

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.5.0

Changes for compatibility with other plugins:

* Cleanup of the temporary directory will happen after all other plugins (on MkDocs 1.4+) - 23

* `File` objects populated by mkdocs-gen-files will now contain a `generated_by` attribute - 20

0.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` 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:

yaml
plugins:
- gen-files:
scripts:
- docs/gen_pages.py

0.3.5

* Fix behavior of `set_edit_path` when `repo_url` doesn't end with `/` - 13

0.3.4

* Fix matching of edit paths to original file paths on Windows - 317a97dc32ce348e8fb4d5d1d2de0bee870a2868

0.3.3

* Fix misfires of "unused edit paths" warning - dbda653b9a4fed41ec30e0f657ec9084a4f76105
* Escape accidental Markdown encountered in nav titles - ce98bab4da64c8968a5a06c202675b5156cc04d4
* Fix an edge case in sorting files for the nav - 71a4825d5c1029362281bc4fa95b34534ceb6c21

0.3.2

* Add generator of literate navs - https://github.com/oprypin/mkdocs-gen-files/commit/5846b8e9e7fc0e464a6da446fd6ae5838dfa654b
See https://oprypin.github.io/mkdocs-gen-files/extras.html

Page 1 of 2

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.