What happened?
We are getting the following warning when using mkdocs and related tools like mike:
warning: The 'import' key is renamed 'inventories' for the Python handler
What did you expect instead?
Update the mkdocs.yml file to replace:
- mkdocstrings:
default_handler: python
handlers:
python:
# ...
import:
With:
- mkdocstrings:
default_handler: python
handlers:
python:
# ...
inventories:
Extra information
We also need to update the cookiecutter templates and write a migration step in cookiecutter/migration.py.
What happened?
We are getting the following warning when using
mkdocsand related tools likemike:What did you expect instead?
Update the
mkdocs.ymlfile to replace:With:
Extra information
We also need to update the cookiecutter templates and write a migration step in
cookiecutter/migration.py.