Skip to content

Commit b8f35c1

Browse files
committed
chore: Template upgrade
1 parent 5698963 commit b8f35c1

18 files changed

Lines changed: 65 additions & 778 deletions

File tree

.copier-answers.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier.
2-
_commit: 1.10.2
2+
_commit: 1.11.1
33
_src_path: gh:pawamoy/copier-uv
44
author_email: dev@pawamoy.fr
55
author_fullname: Timothée Mazzucotelli
@@ -8,12 +8,8 @@ copyright_date: '2019'
88
copyright_holder: Timothée Mazzucotelli
99
copyright_holder_email: dev@pawamoy.fr
1010
copyright_license: ISC
11-
insiders: true
12-
insiders_email: insiders@pawamoy.fr
13-
insiders_repository_name: mkdocstrings
1411
project_description: Automatic documentation from sources, for MkDocs.
1512
project_name: mkdocstrings
16-
public_release: true
1713
python_package_command_line_name: ''
1814
python_package_distribution_name: mkdocstrings
1915
python_package_import_name: mkdocstrings

.github/workflows/ci.yml

Lines changed: 13 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ jobs:
3535
- macos-latest
3636
- windows-latest
3737
python-version:
38-
- "3.9"
39-
- "3.13"
38+
- "3.10"
39+
- "3.14"
4040
include:
41-
- os: ubuntu-latest
42-
python-version: "3.10"
4341
- os: ubuntu-latest
4442
python-version: "3.11"
4543
- os: ubuntu-latest
4644
python-version: "3.12"
45+
- os: ubuntu-latest
46+
python-version: "3.13"
4747

4848
runs-on: ${{ matrix.os }}
4949

@@ -55,7 +55,7 @@ jobs:
5555
fetch-tags: true
5656

5757
- name: Setup Python
58-
uses: actions/setup-python@v5
58+
uses: actions/setup-python@v6
5959
with:
6060
python-version: ${{ matrix.python-version }}
6161

@@ -82,56 +82,36 @@ jobs:
8282

8383
- name: Store objects inventory for tests
8484
uses: actions/upload-artifact@v4
85+
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.13' }}
8586
with:
8687
name: objects.inv
8788
path: site/objects.inv
8889

89-
exclude-test-jobs:
90-
runs-on: ubuntu-latest
91-
outputs:
92-
jobs: ${{ steps.exclude-jobs.outputs.jobs }}
93-
steps:
94-
- id: exclude-jobs
95-
run: |
96-
if ${{ github.repository_owner == 'pawamoy-insiders' }}; then
97-
echo 'jobs=[
98-
{"os": "macos-latest"},
99-
{"os": "windows-latest"},
100-
{"python-version": "3.10"},
101-
{"python-version": "3.11"},
102-
{"python-version": "3.12"},
103-
{"python-version": "3.13"},
104-
{"python-version": "3.14"}
105-
]' | tr -d '[:space:]' >> $GITHUB_OUTPUT
106-
else
107-
echo 'jobs=[
108-
{"os": "macos-latest", "resolution": "lowest-direct"},
109-
{"os": "windows-latest", "resolution": "lowest-direct"}
110-
]' | tr -d '[:space:]' >> $GITHUB_OUTPUT
111-
fi
112-
11390
tests:
11491

11592
needs:
11693
- quality
117-
- exclude-test-jobs
11894
strategy:
11995
matrix:
12096
os:
12197
- ubuntu-latest
12298
- macos-latest
12399
- windows-latest
124100
python-version:
125-
- "3.9"
126101
- "3.10"
127102
- "3.11"
128103
- "3.12"
129104
- "3.13"
130105
- "3.14"
106+
- "3.15"
131107
resolution:
132108
- highest
133109
- lowest-direct
134-
exclude: ${{ fromJSON(needs.exclude-test-jobs.outputs.jobs) }}
110+
exclude:
111+
- os: macos-latest
112+
resolution: lowest-direct
113+
- os: windows-latest
114+
resolution: lowest-direct
135115
runs-on: ${{ matrix.os }}
136116
continue-on-error: true
137117

@@ -143,7 +123,7 @@ jobs:
143123
fetch-tags: true
144124

145125
- name: Setup Python
146-
uses: actions/setup-python@v5
126+
uses: actions/setup-python@v6
147127
with:
148128
python-version: ${{ matrix.python-version }}
149129
allow-prereleases: true

.github/workflows/release.yml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,30 +15,15 @@ jobs:
1515
fetch-depth: 0
1616
fetch-tags: true
1717
- name: Setup Python
18-
uses: actions/setup-python@v5
18+
uses: actions/setup-python@v6
1919
with:
20-
python-version: "3.12"
20+
python-version: "3.13"
2121
- name: Setup uv
2222
uses: astral-sh/setup-uv@v5
23-
- name: Build dists
24-
if: github.repository_owner == 'pawamoy-insiders'
25-
run: uv tool run --from build pyproject-build
26-
- name: Upload dists artifact
27-
uses: actions/upload-artifact@v4
28-
if: github.repository_owner == 'pawamoy-insiders'
29-
with:
30-
name: mkdocstrings-insiders
31-
path: ./dist/*
3223
- name: Prepare release notes
33-
if: github.repository_owner != 'pawamoy-insiders'
3424
run: uv tool run git-changelog --release-notes > release-notes.md
35-
- name: Create release with assets
36-
uses: softprops/action-gh-release@v2
37-
if: github.repository_owner == 'pawamoy-insiders'
38-
with:
39-
files: ./dist/*
4025
- name: Create release
4126
uses: softprops/action-gh-release@v2
42-
if: github.repository_owner != 'pawamoy-insiders'
4327
with:
4428
body_path: release-notes.md
29+

.github/workflows/sponsors.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Update sponsors
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
update-readme:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
- name: Update README and create PR
19+
uses: pawamoy/readme-insert@main
20+
with:
21+
markup-url: https://pawamoy.github.io/sponsors.txt
22+
start-marker: '<!-- sponsors-start -->'
23+
end-marker: '<!-- sponsors-end -->'
24+
commit-message: 'chore: Update sponsors section in README'
25+
pr-title: 'chore: Update sponsors section in README'
26+
pr-body: 'This PR updates the sponsors section in the README file.'

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,8 @@ In one of your markdown files:
133133
```
134134
135135
See the [Usage](https://mkdocstrings.github.io/usage) section of the docs for more examples!
136+
137+
## Sponsors
138+
139+
<!-- sponsors-start -->
140+
<!-- sponsors-end -->

config/pytest_39.ini

Lines changed: 0 additions & 19 deletions
This file was deleted.

docs/.overrides/main.html

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
{% extends "base.html" %}
22

33
{% block announce %}
4-
5-
<strong>Fund this project</strong> through
6-
<a href="{{ 'insiders/#how-to-become-a-sponsor' | url }}"><strong>sponsorship</strong></a>
7-
<span class="twemoji heart pulse">
8-
{% include ".icons/octicons/heart-fill-16.svg" %}
9-
</span> &mdash;
10-
4+
<strong>Fund this project</strong> through
5+
<a href="https://github.com/sponsors/pawamoy"><strong>sponsorship</strong></a>
6+
<span class="twemoji heart pulse">
7+
{% include ".icons/octicons/heart-fill-16.svg" %}
8+
</span> &mdash;
119
Follow
1210
<strong>@pawamoy</strong> on
1311
<a rel="me" href="https://fosstodon.org/@pawamoy">

docs/css/insiders.css

Lines changed: 0 additions & 124 deletions
This file was deleted.

docs/insiders/changelog.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/insiders/goals.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)