- Look for both
mkdocs.yml
andmkdocs.yaml
configuration files - Add a
--debug
flag to help diagnose bugs with mike
- Fix retrieval of Git user name/email when using non-UTF8 encodings
- Improve support for shell-completion
- Fix support for Unicode in redirection templates
- Properly decode paths in the development server
- Add support for
!ENV
andINHERIT
inmkdocs.yml
- Add
mike generate-completion
to generate shell-completion functions
- When redirecting to another page, include the
#hash
- Ensure the MkDocs
search
plugin is correctly enabled when building via mike
- Remove
mike install-extras
and replace it with an MkDocs plugin; if you previously usedinstall-extras
, be sure to remove the added JS/CSS from your docs directory - When deploying aliases, deploy redirect pages to the real version by default;
pass
--no-redirect
to deploy copies - Improve the default redirect template to support redirection when the user has disabled JavaScript
- Allow deploying docs to a subdirectory within the target branch via
--prefix
- Add support for custom templates with
mike set-default
- Read from
remote_branch
andremote_name
if set inmkdocs.yml
- Allow updating an existing alias with
mike alias -u
- Require Python 3.6+
- Remove support for installing extras for
material
theme sincematerial
now has built-in support for mike
- Canonical URLs in generated documentation now point to the correct location
mike alias
now checks for existing aliases to prevent erroneously setting an alias for two different versions- Replace
packaging
dependency withverspec
for future stability - Validate version and alias names to ensure they're non-empty and don't contain a directory separator
- Add support for
mkdocs.yml
files using!!python
tags
- Fix some cases of
material
theme's version selector failing to load - Add support for
material
v5.0+
- Add support for custom
site_dir
inmkdocs.yml
- Preserve quotes in
mkdocs.yml
when runninginstall-extras
- Fix version selector with
material
theme when on homepage
- Add support for the
material
theme - Add support for
mkdocs-bootswatch-classic
themes
- Drop support for Python 2
- Update version selector extras for the
mkdocs
theme to work with both MkDocs 1.0 and 1.1
- Fix using
mike
from subdirectories in some more cases
- Fix using
mike
commands from non-root directories of your project
- Add support for listing doc version in JSON format via
-j
/--json
- Allow changing where aliases point to when deploying, using the
-u
/--update-aliases
option
- Selectively require
enum34
in a Wheel-compatible way
- Include
templates/index.html
in source dists (fixesmike set-default
)
- Add support for Python 3.7 as well as newer versions of
ruamel.yaml
- Support defining theme in
mkdocs.yml
as a mapping instead of just a string
- Fix version selection on real Github pages
- Allow re-specifying aliases if they're already set for a version
- Add an
alias
command to copy an existing set of docs to a new alias
- Change the name of the
rename
command toretitle
- Fix handling of remotes so that local changes aren't wiped out
- Rework aliasing to be persistent across deployments
- Add support for locally-serving documentation for testing purposes