Skip to content

Commit

Permalink
Merge pull request #164 from jg-rp/update-docs
Browse files Browse the repository at this point in the history
Update docs
  • Loading branch information
jg-rp authored Jan 11, 2025
2 parents 5a3c2d1 + 392cd9a commit f365565
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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).
---

Expand Down
5 changes: 5 additions & 0 deletions docs/.overrides/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{% extends "base.html" %}

{% block announce %}
&#x1F389; <a href="https://jg-rp.github.io/python-liquid2/"><strong>Python Liquid2</strong></a> is out! &#x1F389;
{% endblock %}
14 changes: 13 additions & 1 deletion docs/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,16 @@ div.doc-contents:not(.first) {
a.autorefs-external:hover::after {
background-color: var(--md-accent-fg-color);
}


.md-banner {
text-align: center;
}

.md-banner a {
color: white;
}

.md-banner a:hover {
color: white;
text-decoration: underline;
}
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f365565

Please sign in to comment.