{"library":"mkdocs-get-deps","title":"MkDocs Get Deps","description":"mkdocs-get-deps is an extra command-line tool for MkDocs that simplifies dependency management by inferring required PyPI packages from `plugins`, `themes`, and `markdown_extensions` listed in an `mkdocs.yml` configuration file. It outputs the names of these packages, making it easy to pipe them directly to `pip install`. The current version is 0.2.2. It's a low-cadence utility, typically updated in sync with MkDocs or its dependency catalog.","language":"python","status":"active","last_verified":"Sat Apr 11","install":{"commands":["pip install mkdocs-get-deps"],"cli":{"name":"mkdocs-get-deps","version":"usage: mkdocs-get-deps [-h] [-v] [-f CONFIG_FILE] [-p PROJECTS_FILE]"}},"imports":[],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"# Create a sample MkDocs project (if you don't have one)\n# mkdocs new my-docs\n# cd my-docs\n\n# Assuming you have an mkdocs.yml in the current directory, e.g., with a plugin configured:\n# plugins:\n#   - search\n\n# Print the inferred dependencies\nmkdocs get-deps\n\n# Install the inferred dependencies\npip install $(mkdocs get-deps)","lang":"bash","description":"This quickstart demonstrates how to use `mkdocs get-deps` to identify and then install the Python packages required by your MkDocs project based on its `mkdocs.yml` configuration. It's often chained with `pip install` to automate the setup of a documentation environment.","tag":null,"tag_description":null,"last_tested":"2026-04-24","results":[{"runtime":"python:3.10-alpine","exit_code":1},{"runtime":"python:3.10-slim","exit_code":1},{"runtime":"python:3.11-alpine","exit_code":1},{"runtime":"python:3.11-slim","exit_code":1},{"runtime":"python:3.12-alpine","exit_code":1},{"runtime":"python:3.12-slim","exit_code":1},{"runtime":"python:3.13-alpine","exit_code":1},{"runtime":"python:3.13-slim","exit_code":1},{"runtime":"python:3.9-alpine","exit_code":1},{"runtime":"python:3.9-slim","exit_code":1}]},"compatibility":null}