All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to PEP 440 and uses Semantic Versioning.
- Dropped support for Python 3.8 and 3.9. The new minimum version is 3.10.
- Tables are now displayed at maximum width.
- Announcement banner style has been improved.
mkdocs-asf-theme
now uses asrc
layout per this recommendation.mkdocs-asf-theme
now only usespyproject.toml
for package creation now thatsetuptools
recommends not using setup.py.
- The contents of
main.html
have been moved topartials/main.html
andmain.html
now extends frompartials/main.html
. This allows any project using this theme to overridemain.html
and extend frompartials/main.html
, which allows projects to override blocks defined inbase.html
.
- Upgraded
mkdocs-material
to v9.4.2. We have updated our templates in asf_theme/partials to match the upstream versions as closely as possible. This introduces breaking changes. In particular:- If you want a footer, you should make the following change to your website's
mkdocs.yml
file:theme: features: + - navigation.footer
- You should carefully review your website to confirm that everything still renders and functions as expected.
- If anything does not work as expected, you may want to read the
mkdocs-material
upgrade guide starting at Upgrading from 6.x to 7.x for any other important changes that may apply to your website.
- If you want a footer, you should make the following change to your website's
- Analytics is no longer provided by default. You should follow https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/ to enable analytics for your website.
- Fixed #27 by upgrading
mkdocs-material
.
- MkDocs Material theme 6.2.0 breaks site generation, so the dependency is now pinned to
mkdocs-material>=6.2.1,<7.0
- ASF logo and background map now appear correctly in "Project" or repo level sites
- MkDocs Material theme 7 breaks the theme header, so the dependency is now pinned to
mkdocs-material>=6.0,<7.0
- HTML in partials footer no longer calls document.write() should fix bug where page gets deleted and replaced by current year
- Renamed github repository to
mkdocs-asf-theme
to mirror PyPI
- Social links to the footer
- Default Google Analytics settings
- Added search functionality uses the
search.html
partial instead of being directly inserted into the header - Now includes two logos for a site - the ASF logo (linking back to ASF), and the site logo (linking back to the site home page)
- Copyright in footer is now dynamic (provides
© YEAR
) and can be customized or removed
- MkDocs theme based on material to match ASF branding