Skip to content

Commit 807e619

Browse files
committed
Revert doc.yml to where it was
1 parent 051fcf8 commit 807e619

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

.github/workflows/doc.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,24 @@ permissions:
88
contents: read
99

1010
jobs:
11-
build_docs:
12-
runs-on: ubuntu-latest
11+
doc:
12+
strategy:
13+
matrix:
14+
os: [ ubuntu-latest ]
15+
python-version: [ "3.12" ]
16+
fail-fast: false
17+
runs-on: ${{ matrix.os }}
1318
steps:
1419
- uses: actions/checkout@v4 # https://github.com/actions/checkout
15-
- uses: actions/setup-python@v5
1620
with:
17-
python-version: 3.13
18-
allow-prereleases: true
1921
# Only a single commit is fetched by default, for the ref/SHA that triggered the workflow.
2022
# Set fetch-depth: 0 to fetch all history for all branches and tags.
2123
fetch-depth: 0 # Needed for setuptools_scm to work correctly
22-
- run: pip install --upgrade pip setuptools setuptools-scm nox
23-
- run: python -m nox --non-interactive --session docs
24+
- name: Set up Python
25+
uses: actions/setup-python@v5 # https://github.com/actions/setup-python
26+
with:
27+
python-version: ${{ matrix.python-version }}
28+
- name: Install python prerequisites
29+
run: pip install -U --user pip setuptools setuptools-scm nox
30+
- name: Sphinx documentation build
31+
run: python -m nox --non-interactive --session docs

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import nox
22

33

4-
@nox.session(python=['3.13'])
4+
@nox.session(python=['3.12'])
55
def docs(session):
66
session.install(
77
'sphinx',

0 commit comments

Comments
 (0)