Skip to content

Commit f6f6a21

Browse files
committed
Merge remote-tracking branch 'origin/main' into codex/pytask-lock-command
2 parents 31f4274 + 2ba1f62 commit f6f6a21

5 files changed

Lines changed: 207 additions & 302 deletions

File tree

.github/workflows/publish-to-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Build a binary wheel and a source tarball
2424
run: uv build
2525
- name: Store the distribution packages
26-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
26+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
2727
with:
2828
name: python-package-distributions
2929
path: dist/

.github/workflows/update-plugin-list.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: uv run --group plugin-list python scripts/update_plugin_list.py
3434

3535
- name: Create Pull Request
36-
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0
36+
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1
3737
with:
3838
commit-message: '[automated] Update plugin list'
3939
author: 'Tobias Raabe <tobiasraabe@users.noreply.github.com>'

docs/source/_static/css/custom.css

Lines changed: 13 additions & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -1,133 +1,33 @@
1-
/* Classes for the index page. */
2-
.home-tiles {
3-
display: grid;
1+
.home-card-grid {
42
grid-template-columns: repeat(2, minmax(0, 1fr));
5-
gap: 1rem;
6-
margin: 1.25rem 0 1rem;
73
}
84

9-
.home-tile {
10-
display: flex;
11-
flex-direction: column;
12-
align-items: center;
13-
gap: 0.55rem;
14-
padding: 1rem 1.1rem;
15-
border: 1px solid rgba(15, 23, 42, 0.14);
16-
border-radius: 14px;
17-
background: #ffffff;
18-
color: inherit;
19-
text-decoration: none;
5+
.home-card-grid li {
206
text-align: center;
21-
box-shadow: 0 3px 10px rgba(15, 23, 42, 0.11);
22-
transition:
23-
transform 120ms ease-in-out,
24-
box-shadow 120ms ease-in-out,
25-
border-color 120ms ease-in-out;
26-
}
27-
28-
.home-tile,
29-
.home-tile:hover,
30-
.home-tile:focus,
31-
.home-tile:focus-visible,
32-
.home-tile * {
33-
text-decoration: none;
34-
}
35-
36-
.home-tile:hover {
37-
transform: translateY(-2px);
38-
box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16);
39-
border-color: #91a9ca;
40-
}
41-
42-
.md-typeset a.home-tile,
43-
.md-typeset a.home-tile:hover,
44-
.md-typeset a.home-tile:focus,
45-
.md-typeset a.home-tile:focus-visible,
46-
.md-typeset a.home-tile:active,
47-
.md-typeset a.home-tile:visited {
48-
text-decoration: none !important;
49-
border-bottom: 0 !important;
50-
background-image: none !important;
51-
color: inherit !important;
527
}
538

54-
body[data-md-color-scheme="default"] .md-typeset a.home-tile,
55-
body[data-md-color-scheme="default"] .md-typeset a.home-tile:hover,
56-
body[data-md-color-scheme="default"] .md-typeset a.home-tile:focus,
57-
body[data-md-color-scheme="default"] .md-typeset a.home-tile:focus-visible,
58-
body[data-md-color-scheme="default"] .md-typeset a.home-tile:active,
59-
body[data-md-color-scheme="default"] .md-typeset a.home-tile:visited {
60-
background: #ffffff !important;
61-
background-color: #ffffff !important;
62-
}
63-
64-
.md-typeset a.home-tile *,
65-
.md-typeset a.home-tile:hover *,
66-
.md-typeset a.home-tile:focus *,
67-
.md-typeset a.home-tile:focus-visible *,
68-
.md-typeset a.home-tile:active *,
69-
.md-typeset a.home-tile:visited * {
70-
text-decoration: none !important;
71-
border-bottom: 0 !important;
72-
background-image: none !important;
73-
}
74-
75-
.home-tile h3 {
76-
margin: 0;
77-
font-size: 1.05rem;
78-
}
79-
80-
.home-tile p {
81-
margin: 0;
82-
color: inherit;
83-
line-height: 1.45;
84-
}
85-
86-
.home-tile img {
9+
.home-card-icon {
10+
display: block;
11+
margin: 0 auto 0.75rem;
8712
width: 44px;
8813
height: 44px;
89-
object-fit: contain;
9014
}
9115

92-
@media (max-width: 760px) {
93-
.home-tiles {
94-
grid-template-columns: 1fr;
95-
}
16+
.home-card-title,
17+
.home-card-title:hover,
18+
.home-card-title:focus,
19+
.home-card-title:focus-visible,
20+
.home-card-title:visited {
21+
color: inherit !important;
22+
text-decoration: none !important;
23+
font-size: 1.15em;
9624
}
9725

9826
pre,
9927
li pre {
10028
padding-left: 0;
10129
}
10230

103-
body[data-md-color-scheme="slate"] .home-tile {
104-
border-color: rgba(203, 213, 225, 0.24);
105-
background: rgba(15, 23, 42, 0.38);
106-
box-shadow: 0 4px 12px rgba(2, 6, 23, 0.38);
107-
}
108-
109-
body[data-md-color-scheme="slate"] .home-tile:hover {
110-
border-color: rgba(147, 197, 253, 0.55);
111-
box-shadow: 0 12px 26px rgba(2, 6, 23, 0.46);
112-
}
113-
114-
body[data-md-color-scheme="slate"] .home-tile p {
115-
color: inherit;
116-
}
117-
118-
@media (prefers-color-scheme: dark) {
119-
.home-tile {
120-
border-color: rgba(203, 213, 225, 0.24);
121-
background: rgba(15, 23, 42, 0.38);
122-
box-shadow: 0 4px 12px rgba(2, 6, 23, 0.38);
123-
}
124-
125-
.home-tile:hover {
126-
border-color: rgba(147, 197, 253, 0.55);
127-
box-shadow: 0 12px 26px rgba(2, 6, 23, 0.46);
128-
}
129-
}
130-
13131
.md-typeset dl.cli-reference {
13232
margin: 0.75rem 0 1.25rem;
13333
}

docs/source/index.md

Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -48,25 +48,30 @@ first [tutorial](tutorials/installation.md) for the installation and proceed fro
4848

4949
If you want to know more about pytask, dive into one of the following topics.
5050

51-
<div class="home-tiles">
52-
<a class="home-tile" href="tutorials/index.html">
53-
<img src="_static/images/light-bulb.svg" alt="Tutorials icon">
54-
<h3>Tutorials</h3>
55-
<p>Tutorials help you get started with pytask and build your first project.</p>
56-
</a>
57-
<a class="home-tile" href="how_to_guides/index.html">
58-
<img src="_static/images/book.svg" alt="How-to guides icon">
59-
<h3>How-to Guides</h3>
60-
<p>Step-by-step instructions for concrete tasks and advanced workflows.</p>
61-
</a>
62-
<a class="home-tile" href="explanations/index.html">
63-
<img src="_static/images/books.svg" alt="Explanations icon">
64-
<h3>Explanations</h3>
65-
<p>Background and conceptual context for design decisions in pytask.</p>
66-
</a>
67-
<a class="home-tile" href="reference_guides/index.html">
68-
<img src="_static/images/coding.svg" alt="Reference guides icon">
69-
<h3>Reference Guides</h3>
70-
<p>API and implementation details for developers and plugin authors.</p>
71-
</a>
51+
<div class="grid cards home-card-grid" markdown>
52+
53+
- ![Tutorials icon](_static/images/light-bulb.svg){ .home-card-icon }
54+
55+
[__Tutorials__](tutorials/index.md){ .home-card-title }
56+
57+
Tutorials help you get started with pytask and build your first project.
58+
59+
- ![How-to guides icon](_static/images/book.svg){ .home-card-icon }
60+
61+
[__How-to Guides__](how_to_guides/index.md){ .home-card-title }
62+
63+
Step-by-step instructions for concrete tasks and advanced workflows.
64+
65+
- ![Explanations icon](_static/images/books.svg){ .home-card-icon }
66+
67+
[__Explanations__](explanations/index.md){ .home-card-title }
68+
69+
Background and conceptual context for design decisions in pytask.
70+
71+
- ![Reference guides icon](_static/images/coding.svg){ .home-card-icon }
72+
73+
[__Reference Guides__](reference_guides/index.md){ .home-card-title }
74+
75+
API and implementation details for developers and plugin authors.
76+
7277
</div>

0 commit comments

Comments
 (0)