diff --git a/README.md b/README.md index 4c203bae..b81df7f5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ > [!IMPORTANT] -> 🎉 Announcing the release of [Python Liquid2](https://github.com/jg-rp/python-liquid2). See the [migration guide](https://jg-rp.github.io/python-liquid2/migration/) and the list of [new features](https://jg-rp.github.io/python-liquid2/migration/#new-features). 🎉 +> 🎉 Announcing the release of [Python Liquid2](https://github.com/jg-rp/python-liquid2) 🎉 See the [migration guide](https://jg-rp.github.io/python-liquid2/migration/) and the list of [new features](https://jg-rp.github.io/python-liquid2/migration/#new-features). --- diff --git a/docs/.overrides/main.html b/docs/.overrides/main.html new file mode 100644 index 00000000..39f73ce7 --- /dev/null +++ b/docs/.overrides/main.html @@ -0,0 +1,5 @@ +{% extends "base.html" %} + +{% block announce %} +🎉 Python Liquid2 is out! 🎉 +{% endblock %} diff --git a/docs/css/style.css b/docs/css/style.css index 411b2223..e36d249e 100644 --- a/docs/css/style.css +++ b/docs/css/style.css @@ -24,4 +24,16 @@ div.doc-contents:not(.first) { a.autorefs-external:hover::after { background-color: var(--md-accent-fg-color); } - \ No newline at end of file + + .md-banner { + text-align: center; + } + + .md-banner a { + color: white; + } + + .md-banner a:hover { + color: white; + text-decoration: underline; + } diff --git a/mkdocs.yml b/mkdocs.yml index 002701f4..c5210094 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -20,6 +20,7 @@ theme: - content.code.copy logo: img/droplet_white_liquid.svg favicon: img/favicon.ico + custom_dir: docs/.overrides repo_name: jg-rp/liquid repo_url: https://github.com/jg-rp/liquid