Skip to content

Commit 22e83de

Browse files
committed
chore: Template upgrade
1 parent 1fc513a commit 22e83de

File tree

6 files changed

+50
-3
lines changed

6 files changed

+50
-3
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: 0.15.9
2+
_commit: 0.15.11
33
_src_path: gh:pawamoy/copier-pdm
44
author_email: pawamoy@pm.me
55
author_fullname: Timothée Mazzucotelli

docs/css/insiders.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,27 @@ a.insiders {
9595
transition: all .25s;
9696
vertical-align: bottom !important;
9797
width: 1.2rem;
98+
}
99+
100+
.premium-sponsors {
101+
text-align: center;
102+
}
103+
104+
.premium-sponsors .silver img {
105+
height: 140px;
106+
}
107+
108+
.premium-sponsors .bronze img {
109+
height: 140px;
110+
}
111+
112+
.premium-sponsors .bronze p {
113+
display: flex;
114+
flex-wrap: wrap;
115+
justify-content: center;
116+
}
117+
118+
.premium-sponsors .bronze a {
119+
display: block;
120+
flex-shrink: 0;
98121
}

docs/insiders/index.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,33 @@ You can cancel your sponsorship anytime.[^5]
119119
print_join_sponsors_button()
120120
```
121121

122+
<hr>
123+
<div class="premium-sponsors">
124+
125+
<div class="bronze">
126+
<b>Bronze sponsors</b>
127+
<p>
128+
129+
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" title="Material for MkDocs">
130+
<img alt="Material for MkDocs" src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/logo.svg" style="height: 240px;">
131+
</a>
132+
<a href="https://docs.pydantic.dev/latest/" target="_blank" title="Pydantic">
133+
<img alt="Pydantic" src="https://github.com/pawamoy/website/assets/3999221/368ff871-8fae-40c4-9b66-781b66e12cbb" style="height: 100px;">
134+
</a>
135+
136+
</p>
137+
</div>
138+
</div>
139+
140+
<hr>
122141
<br>
123142

124143
```python exec="1" session="insiders"
125144
print_sponsors()
126145
```
127146

128-
<br><br>
147+
<br>
148+
<br>
129149

130150
<small>
131151
If you sponsor publicly, you're automatically added here with a link to

docs/license.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# License
2+
13
```
24
--8<-- "LICENSE"
35
```

scripts/gen_credits.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ def _render_credits() -> str:
8989
}
9090
template_text = dedent(
9191
"""
92+
# Credits
93+
9294
These projects were used to build *{{ project_name }}*. **Thank you!**
9395
9496
[`python`](https://www.python.org/) |

scripts/gen_ref_nav.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import mkdocs_gen_files
66

77
nav = mkdocs_gen_files.Nav()
8-
mod_symbol = '<code class="doc-symbol doc-symbol-nav doc-symbol-module">mod</code>'
8+
mod_symbol = '<code class="doc-symbol doc-symbol-nav doc-symbol-module"></code>'
99

1010
for path in sorted(Path("src").rglob("*.py")):
1111
module_path = path.relative_to("src").with_suffix("")

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy