Repository navigation
v4.0.0
Highlights
- Cover parameters unified under
cover:(breaking) — Every cover parameter now sits in a singlecover:block with the same nested structure inmkdocs.yml(theme.cover) and in page front matter. The old flat front matter keys (subtitle,curs,author,email,original_authorandlicense_type/license_text/license_link/license_image) are now ignored without a warning by the cover and the print footer, so move them undercover(license keys go undercover.license). Cover docs - Per-field overrides and theme-wide cover defaults — Page values are merged field by field with
theme.cover, so a page can override a single value such ascover.license.textand keep the other defaults.cover.authorfalls back tosite_author,cover.license.*falls back totheme.license.*, and a page can hide the cover withcover: false. Cover docs - Custom license icon on the cover — The new
cover.license.iconoption replaces the icon that is otherwise picked automatically fromlicense.type(material/copyleft,material/creative-commonsormaterial/copyright). Cover docs site_emailmoved totheme.email(breaking) — Set the contact email withtheme.emailinmkdocs.ymlinstead ofsite_email, which MkDocs doesn't recognise and warned about on every build. The cover'scover.emailfalls back to it. Cover docs- Print footer follows the cover settings — The print footer now takes the author and license from the
coverparameters. The web footer (copyright.html) still reads the old root-levelauthorandlicense_*keys, so pages that changed that footer must keep those keys at the root as well. Cover docs
Full Changelog: v3.11.0...v4.0.0