Bump mkdocs from 1.2.3 to 1.4.2
Bumps mkdocs from 1.2.3 to 1.4.2.
Release notes
Sourced from mkdocs's releases.
1.4.2
Officially support Python 3.11 (#3020)
Note: Simply upgrading to Python 3.11 can cut off 10-15% of your site's build time.
Support multiple instances of the same plugin (#3027)
If a plugin is specified multiple times in the list under the
plugins:config, that will create 2 (or more) instances of the plugin with their own config each.Previously this case was unforeseen and, as such, bugged.
Now even though this works, by default a warning will appear from MkDocs anyway, unless the plugin adds a class variable
supports_multiple_instances = True.Bugfix (regression in 1.4.1): Don't error when a plugin puts a plain string into
warnings(#3016)Bugfix: Relative links will always render with a trailing slash (#3022)
Previously under
use_directory_urls, links from a sub-page to the main index page rendered as e.g.<a href="../..">even though in all other cases the links look like<a href="../../">. This caused unwanted behavior on some combinations of Web browsers and servers. Now this special-case bug was removed.Built-in "mkdocs" theme now also supports Norwegian language (#3024)
Plugin-related warnings look more readable (#3016)
See commit log.
1.4.1
Support theme-namespaced plugin loading (#2998)
Plugins' entry points can be named as 'sometheme/someplugin'. That will have the following outcome:
- If the current theme is 'sometheme', the plugin 'sometheme/someplugin' will always be preferred over 'someplugin'.
- If the current theme isn't 'sometheme', the only way to use this plugin is by specifying
plugins: [sometheme/someplugin].One can also specify
plugins: ['/someplugin']instead ofplugins: ['someplugin']to definitely avoid the theme-namespaced plugin.Bugfix:
mkdocs servewill work correctly with non-ASCII paths and redirects (#3001)Windows: 'colorama' is now a dependency of MkDocs, to ensure colorful log output (#2987)
Plugin-related config options have more reliable validation and error reporting (#2997)
Translation sub-commands of
setup.pywere completely dropped. See documentation [1] [2] for their new replacements (#2990)The 'mkdocs' package (wheel and source) is now produced by Hatch build system and pyproject.toml instead of setup.py (#2988)
Other small improvements; see commit log.
1.4.0
... (truncated)
Commits
ec7eee6Release 1.4.2 (#3032)c99ec45Support multiple instances of the same plugin (#3027)452c39eChore dependency upgradef190c35Translate mkdocs theme to Norwegian (nb and nn) (#3024)c576f07Declare support for Python 3.11 (#3020)32359f3Relative links end with slash even for homepage links (#3022)1fa2af7Expand type checking coverage (#3019)d76cae9Merge pull request #3016 from mkdocs/optw9d73c2aReduce redundancy in config errors/warnings427d553Let plugins put strings intowarnings- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)