mkdocs serve no longer locks up the browser when more than 5 tabs are open. This is achieved by closing the polling connection whenever a tab becomes inactive. Background tabs will no longer auto-reload either - that will instead happen as soon the tab is opened again. Context: #3391
New flag serve --open to open the site in a browser.
After the first build is finished, this flag will cause the default OS Web browser to be opened at the home page of the local site.
Context: #3500
Drafts
[!warning]
Changed from version 1.5:
The exclude_docs config was split up into two separate concepts.
The exclude_docs config no longer has any special behavior for mkdocs serve - it now always completely excludes the listed documents from the site.
If you wish to use the "drafts" functionality like the exclude_docs key used to do in MkDocs 1.5, please switch to the new config key draft_docs.
Reduce warning levels when a "draft" page has a link to a non-existent file. Context: #3449
Update to deduction of page titles
MkDocs 1.5 had a change in behavior in deducing the page titles from the first heading. Unfortunately this could cause unescaped HTML tags or entities to appear in edge cases.
Now tags are always fully sanitized from the title. Though it still remains the case that Page.title is expected to contain HTML entities and is passed directly to the themes.
Images (notably, emojis in some extensions) get preserved in the title only through their alt attribute's value.
Built-in themes now also support Polish language (#3613)
"readthedocs" theme
Fix: "readthedocs" theme can now correctly handle deeply nested nav configurations (over 2 levels deep), without confusedly expanding all sections and jumping around vertically. (#3464)
Fix: "readthedocs" theme now shows a link to the repository (with a generic logo) even when isn't one of the 3 known hosters. (#3435)
"readthedocs" theme now also has translation for the word "theme" in the footer that mistakenly always remained in English. (#3613, #3625)
* Babel 2.15.0 will require Python 3.8 or newer. (:gh:`1048`)
Features
* CLDR: Upgrade to CLDR 44 (:gh:`1071`) (@akx)
* Dates: Support for the "fall back to short format" logic for time delta formatting (:gh:`1075`) (@akx)
* Message: More versatile .po IO functions (:gh:`1068`) (@akx)
* Numbers: Improved support for alternate spaces when parsing numbers (:gh:`1007`) (@ronnix's first contribution)
Infrastructure
Upgrade GitHub Actions (:gh:1054) (@cclauss's first contribution)
The Unicode license is now included in locale-data and in the documentation (:gh:1074) (@akx)
Bumps the dependencies group with 44 updates in the /.config directory:
1.8.0
1.9.1
1.2.0
1.2.1
9.5.13
9.5.26
1.5.3
1.6.0
10.2.0
10.3.0
2.16.1
2.22.0
10.7.1
10.8.1
2.14.0
2.15.0
1.1.1
1.2.1
1.6.1
1.7.0
2024.2.2
2024.6.2
7.4.3
7.5.3
42.0.5
42.0.8
0.20.1
0.21.2
1.2.0
1.2.1
3.13.1
3.15.1
3.1.42
3.1.43
3.6
3.7
7.0.2
7.1.0
3.3.1
3.4.0
3.1.3
3.1.4
24.3.1
25.2.1
3.5.2
3.6
10.2.0
10.3.0
0.2.15
0.2.17
23.2
24.1
1.10.0
1.11.1
4.2.0
4.2.2
1.4.0
1.5.0
2.21
2.22
2.17.2
2.18.0
1.0.0
1.1.0
8.1.1
8.2.2
0.6.1
0.7.0
2023.12.25
2024.5.15
2.31.0
2.32.3
1.2.1
1.3.0
4.14.1
4.15.1
5.0.0
5.1.0
0.9.0
0.12.3
4.10.0
4.12.2
20.25.1
20.26.2
4.0.0
4.0.1
3.17.0
3.19.2
Updates
markdown-exec
from 1.8.0 to 1.9.1Release notes
Sourced from markdown-exec's releases.
... (truncated)
Changelog
Sourced from markdown-exec's changelog.
... (truncated)
Commits
05cc476
chore: Prepare release 1.9.1ae549db
build: Re-include tests folder in source distributions019131b
docs: Fix typobb7d8ca
chore: Force push docsfcd3308
chore: Allow deploying from main repoe458ffc
chore: Disallow override in docs-deploy duty to allow passing -cnone (because...5f70186
chore: Add Pandas dev dep for Plotlyb26d0eb
chore: Prepare release 1.9.025bcbbe
feat: Abort with error when the plugin is configured to require the ANSI extr...6b845e8
chore: Install dependencies with extras (for ANSI support)Updates
mkdocs-htmlproofer-plugin
from 1.2.0 to 1.2.1Release notes
Sourced from mkdocs-htmlproofer-plugin's releases.
Commits
214a0b3
Release 1.2.1577f2f7
Fix checking image link (#82)d9fd2ce
Rework use_directory_url=True validation to better catch incorrect links (#80)ac22c24
Bump up version to 1.3.0.devUpdates
mkdocs-material
from 9.5.13 to 9.5.26Release notes
Sourced from mkdocs-material's releases.
... (truncated)
Changelog
Sourced from mkdocs-material's changelog.
... (truncated)
Commits
f887197
Updated changelog0d5a08c
Prepare 9.5.26 release1cc45d5
Fixed active tab stolen on scroll with linked content tabsb5b7e9d
Updated dependenciesc182598
Added distribution files49ebb9b
Improved accessibility of search partial (#7233)5bd843b
Updated dependencies0fc36a1
Added support for local author avatars2412a1b
Documentation (#7221)6c3f846
Updated custom stylesUpdates
mkdocs
from 1.5.3 to 1.6.0Release notes
Sourced from mkdocs's releases.
... (truncated)
Commits
0998fec
Release 1.6.0 (#3631)bce85bf
Fix for showing repository icon even when a file has no edit_uri (#3657)0ac05da
Re-generate localization files (#3634)6244500
Remove jQuery frommkdocs
theme (#3649)f85d429
Prevent a flash of white color when dark mode is enabled (#3647)e39cce2
Fix style of modal close button (#3651)652813d
Prevent a crash if stdin is not defined (#3609)59a295f
Merge pull request #3493 from waylan/22486f5e748
Merge pull request #3625 from mkdocs/themepo1451fb3
Babel setuptools frontend is still used in the install hookUpdates
pillow
from 10.2.0 to 10.3.0Release notes
Sourced from pillow's releases.
... (truncated)
Changelog
Sourced from pillow's changelog.
... (truncated)
Commits
5c89d88
10.3.0 version bump63cbfcf
Update CHANGES.rst [ci skip]2776126
Merge pull request #7928 from python-pillow/lcmsaeb51cb
Merge branch 'main' into lcms5beb0b6
Update CHANGES.rst [ci skip]cac6ffa
Merge pull request #7927 from python-pillow/imagemathf5eeeac
Name as 'options' in lambda_eval and unsafe_eval, but '_dict' in deprecated evalfacf3af
Added release notes2a93aba
Use strncpy to avoid buffer overflowa670597
Update CHANGES.rst [ci skip]Updates
pipdeptree
from 2.16.1 to 2.22.0Release notes
Sourced from pipdeptree's releases.
... (truncated)
Commits
58fb67d
Warn about and ignore invalid package metadata in the environment (#373)44c1361
[pre-commit.ci] pre-commit autoupdate (#371)b8313c8
Add pypy to CI (#369)3c41d39
[pre-commit.ci] pre-commit autoupdate (#367)0f558b3
Implement --python auto for environment detection (#366)5cc7ba2
[pre-commit.ci] pre-commit autoupdate (#365)e88356f
Mimic pip when handling --user-only in a virtual environment (#364)1476bf7
[pre-commit.ci] pre-commit autoupdate (#363)4c832b5
Remove publish job from the check workflow (#361)a1bf845
[pre-commit.ci] pre-commit autoupdate (#360)Updates
pymdown-extensions
from 10.7.1 to 10.8.1Release notes
Sourced from pymdown-extensions's releases.
Commits
8ed2fcb
Fix snippet line range with start of line 1 (#2362)45b53a7
Update more JS doc dependencies20dfcc4
Upgrade JS doc dependenciesd238e0c
Update changelog and require Markdown >= 3.6 (#2358)48e32b6
Upgrade some JS dependencies88a9463
Update FAQ to cover no parameters in slugify722461c
Fix deprecation warnings introduced in latest Python Markdown release (#2347)509e93d
Fix SmartSymbols Toc test (#2344)Updates
babel
from 2.14.0 to 2.15.0Release notes
Sourced from babel's releases.
Changelog
Sourced from babel's changelog.
Commits
40b194f
Prepare for 2.15.0 release (#1079)c2e6c6e
Encode support for the "fall back to short format" logic for time delta forma...1a03526
Include Unicode license inlocale-data
and in documentation (#1074)c0fb56e
Allow alternative space characters as group separator when parsing numbers (#...fe82fbc
Use CLDR 44 and adjust tests to match new data (#1071)e0d1018
Improve .po IO (#1068)40e60a1
Upgrade GitHub Actions (#1054)2a1709a
Drop support for Python 3.7 (EOL since June 2023) (#1048)Updates
build
from 1.1.1 to 1.2.1Release notes
Sourced from build's releases.
The following labels could not be found:
dependabot-deps-updates
.Looks like these dependencies are updatable in another way, so this is no longer needed.