Plugin for MkDocs that automatically generates API documentation using mkdocstrings and populates the navigation tree. Version 0.4.0 requires Python >=3.9. Active development, releases occur irregularly.
pip install mkdocs-api-autonavNo compatibility data collected yet for this library.
Add the plugin to your MkDocs configuration. The plugin will scan the specified modules and generate markdown pages with mkdocstrings, automatically updating the navigation.
Replace 'nav' key with 'modules' in mkdocs.yml. Example: modules: ['my_package'].
Ensure generated directories (e.g., 'api') are not manually created or tracked in version control. Add them to .gitignore.
Always use list syntax: modules: ['module1', 'module2']. Avoid quoting the whole list.
Upgrade Python to >=3.9 or pin to mkdocs-api-autonav==0.3.x.
Install the package or adjust sys.path. Ensure the module is installed in the same environment.
Change to proper YAML list: modules: ['mypackage'].
Remove or update 'nav' key. Use 'modules' key instead.