--- template: overrides/main.html --- # Upgrading Upgrade to the latest version with: ``` pip install --upgrade mkdocs-material ``` Inspect the currently installed version with: ``` pip show mkdocs-material ``` ## Upgrading from 6.x to 7.x ### What's new? - Added support for deploying multiple versions - Added support for integrating a language selector - Added support for rendering admonitions as inline blocks - Rewrite of the underlying reactive architecture - Removed Webpack in favor of reactive build strategy (-480 dependencies) - Fixed keyboard navigation for code blocks after content tabs switch ### Changes to `mkdocs.yml` #### `extra.version.method` The versioning method configuration was renamed to `extra.version.provider` to allow for different versioning strategies in the future: === "7.x" ``` yaml extra: version: provider: mike ``` === "6.x" ``` yaml extra: version: method: mike ``` ### Changes to `*.html` files The templates have undergone a set of changes to make them future-proof. If you've used theme extension to override a block or template, make sure that it matches the new structure: - If you've overridden a __block__, check `base.html` for potential changes - If you've overridden a __template__, check the respective `*.html` file for potential changes ??? quote "`base.html`" ``` diff @@ -61,7 +61,7 @@ font.text | replace(' ', '+') + ':300,400,400i,700%7C' + font.code | replace(' ', '+') }}&display=fallback"> - + {% endif %} {% endblock %} {% if config.extra.manifest %} @@ -131,7 +131,7 @@ {% if page and page.meta and page.meta.hide %} {% set hidden = "hidden" if "navigation" in page.meta.hide %} {% endif %} -