Bump mkdocs from 1.4.3 to 1.5.2
Bumps mkdocs from 1.4.3 to 1.5.2.
Release notes
Sourced from mkdocs's releases.
1.5.2
Bugfix (regression in 1.5.0): Restore functionality of
--no-livereload. (#3320)Bugfix (regression in 1.5.0): The new page title detection would sometimes be unable to drop anchorlinks - fix that. (#3325)
Partly bring back pre-1.5 API:
extra_javascriptitems will once again be mostly strings, and only sometimesExtraStringValue(when the extrascriptfunctionality is used).Plugins should be free to append strings to
config.extra_javascript, but when reading the values, they must still make sure to read it asstr(value)in case it is anExtraScriptValueitem. For querying the attributes such as.typeyou need to checkisinstancefirst. Static type checking will guide you in that. (#3324)See commit log.
1.5.1
Bugfix (regression in 1.5.0): Make it possible to treat
ExtraScriptValueas a path. This lets some plugins still work despite the breaking change.Bugfix (regression in 1.5.0): Prevent errors for special setups that have 3 conflicting files, such as
index.html,index.mdandREADME.md(#3314)See commit log.
1.5.0
New: MkDocs now accepts donations. Please consider supporting the current maintainer at my new GitHub sponsorship page.
MkDocs has been a totally free project since the beginning and wasn't accepting funds. MkDocs will remain free of paywalls, but now you can show your support with donations (one-time and/or recurring).
Donate for MkDocs - @oprypin sponsors pageAnd please also consider these other individuals who have been contributing to the ecosystem for a long time and check out their donations pages:
@facelessuser@pawamoy@Ultrabug
Release 1.5.0
New command
mkdocs get-depsThis command guesses the Python dependencies that a MkDocs site requires in order to build. It simply prints the PyPI packages that need to be installed. In the terminal it can be combined directly with an installation command as follows:
pip install $(mkdocs get-deps)The idea is that right after running this command, you can directly follow it up with
mkdocs buildand it will almost always "just work", without needing to think which dependencies to install.The way it works is by scanning
mkdocs.ymlforthemes:,plugins:,markdown_extensions:items and doing a reverse lookup based on a large list of known projects (catalog, see below).Of course, you're welcome to use a "virtualenv" with such a command. Also note that for environments that require stability (for example CI) directly installing deps in this way is not a very reliable approach as it precludes dependency pinning.
... (truncated)
Commits
-
79f17b4Release 1.5.2 (#3330) -
91e37aeChange extra_javascript items to usually be strings again (#3324) -
4944c9fDrop obsolete readthedocs config, we switched to gh-pages (#3326) -
63052bcCorrect detection of dropping anchorlink from page title (#3325) -
fcb2da3Restore functionality of --no-livereload (#3320) -
2865b0fRelease 1.5.1 (#3315) -
ea549e6Make it possible to treat ExtraScriptValue as a path -
86cde7bCatch ValueErrors thrown when attempting to remove a file twice (#3314) -
0d9e341Release 1.5.0 (#3296) -
0f8ab6bFix livereload shutdown sequence - crash on Windows - Additional commits viewable in compare view