mkdocs-get-deps
An extra command for MkDocs that infers required PyPI packages from plugins in mkdocs.yml.
Installation:Alternatively through MkDocs itself:
pip install mkdocs-get-deps
pip install mkdocs
This command guesses the Python dependencies that a MkDocs site requires in order to build. It simply prints the PyPI packages that need to be installed. In the terminal it can be combined directly with a pip install command, as per the last example below:
Usage:Alternatively through MkDocs itself:
mkdocs-get-deps
mkdocs-get-deps > requirements.txt
pip install $(mkdocs-get-deps)
mkdocs get-deps
mkdocs get-deps > requirements.txt
pip install -r requirements.txt
pip install $(mkdocs get-deps)
The idea is that right after running this command, you can directly follow it up with mkdocs build and it will almost always "just work", without needing to think which dependenci
|