Skip to content

Commit f365565

Browse files
authored
Merge pull request #164 from jg-rp/update-docs
Update docs
2 parents 5a3c2d1 + 392cd9a commit f365565

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
> [!IMPORTANT]
2-
> 🎉 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). 🎉
2+
> 🎉 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).
33
44
---
55

docs/.overrides/main.html

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{% extends "base.html" %}
2+
3+
{% block announce %}
4+
&#x1F389; <a href="https://jg-rp.github.io/python-liquid2/"><strong>Python Liquid2</strong></a> is out! &#x1F389;
5+
{% endblock %}

docs/css/style.css

+13-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,16 @@ div.doc-contents:not(.first) {
2424
a.autorefs-external:hover::after {
2525
background-color: var(--md-accent-fg-color);
2626
}
27-
27+
28+
.md-banner {
29+
text-align: center;
30+
}
31+
32+
.md-banner a {
33+
color: white;
34+
}
35+
36+
.md-banner a:hover {
37+
color: white;
38+
text-decoration: underline;
39+
}

mkdocs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ theme:
2020
- content.code.copy
2121
logo: img/droplet_white_liquid.svg
2222
favicon: img/favicon.ico
23+
custom_dir: docs/.overrides
2324

2425
repo_name: jg-rp/liquid
2526
repo_url: https://github.com/jg-rp/liquid

0 commit comments

Comments
 (0)