MkDocs / Version Differences
MkDocs is generally consistent in its behavior. However, the following information summarizes major differences between versions. See also the MkDocs release notes and release notes for the theme that is used. It may also be helpful to search the MkDocs GitHub issues to troubleshoot unexpected behavior.
Version 1
Version 1 made a few major changes that may impact source documentation files and project configuration.
- File and link specification:
use_directory_urls: true
is the default- This causes URLs to end in
/
rather than a.html
file. - See the documentation
- This may cause old documentation to have broken links, especially if the next item is also an issue.
- This causes URLs to end in
- To make internal links work, must specify
.md
in filenames whereas previously the extension could be omitted. This may be related to the above change. - See also console messages that are printed by
mkdocs
, which alert to missing and extra files.
- Changes to
mkdocs.yml
configuration file:- Change
pages
tonav
. - See reference to
mkdocs.yml
file for supported properties.
- Change
Version 0
MkDocs was at version 0 for a long time. A lot of documentation may have been written that needs to be updated to version 1 (see above).