Bump mkdocs from 1.2.3 to 1.3.0
Bumps mkdocs from 1.2.3 to 1.3.0.
Release notes
Sourced from mkdocs's releases.
1.3.0
Feature upgrades
ReadTheDocs theme updated from v0.4.1 to v1.0.0 according to upstream (#2585)
The most notable changes:
- New option
logo
: Rather than displaying thesite_name
in the title, one can specify a path to an image to display instead.- New option
anonymize_ip
for Google Analytics.- Dependencies were upgraded: jQuery upgraded to 3.6.0, Modernizr.js dropped, and others.
Built-in themes now also support these languages:
Support custom directories to watch when running
mkdocs serve
(#2642)MkDocs by default watches the docs directory and the config file. Now there is a way to add more directories to watch for changes, either via the YAML
watch
key or the command line flag--watch
.Normally MkDocs never reaches into any other directories (so this feature shouldn't be necessary), but some plugins and extensions may do so.
See documentation.
New
--no-history
option forgh_deploy
(#2594)Allows to discard the history of commits when deploying, and instead replace it with one root commit
Bug fixes
An XSS vulnerability when using the search function in built-in themes was fixed (#2791)
Setting the
edit_uri
option no longer erroneously adds a trailing slash torepo_url
(#2733)Miscellaneous
Breaking change: the
pages
config option that was deprecated for a very long time now causes an error when used (#2652)To fix the error, just change from
pages
tonav
.Performance optimization: during startup of MkDocs, code and dependencies of other commands will not be imported (#2714)
The most visible effect of this is that dependencies of
mkdocs serve
will not be imported whenmkdocs build
is used.Recursively validate
nav
(#2680)Validation of the nested
nav
structure has been reworked to report errors early and reliably. Some edge cases have been declared invalid.Other small improvements; see commit log.
... (truncated)
Commits
-
d2e2a23
Release 1.3.0 (#2806) -
2016004
Merge branch 'release/1.2' -
6c1eb58
Release 1.2.4 (#2805) -
2d642b3
Compatibility with Jinja2 3.1.0 (#2800) -
b727215
Revert to disregarding the mount path for /livereload/ endpoint (#2804) -
17ff566
Ensure that theedit_uri
option does not modify therepo_url
(#2733) -
91923f5
Revert "SubConfig now catches failures and warnings (#2710)" -
5cf1963
Prevent XSS searching in builtin themes (#2791) -
d7fa905
SubConfig now catches failures and warnings (#2710) -
09a5cd0
Add Persian (fa) translation to the default themes (#2787) - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot rebase
will rebase this MR -
$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts