Skip to content

Commit

Permalink
Revert doc.yml to where it was
Browse files Browse the repository at this point in the history
  • Loading branch information
tleonhardt committed Oct 23, 2024
1 parent 051fcf8 commit 807e619
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,24 @@ permissions:
contents: read

jobs:
build_docs:
runs-on: ubuntu-latest
doc:
strategy:
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.12" ]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4 # https://github.com/actions/checkout
- uses: actions/setup-python@v5
with:
python-version: 3.13
allow-prereleases: true
# Only a single commit is fetched by default, for the ref/SHA that triggered the workflow.
# Set fetch-depth: 0 to fetch all history for all branches and tags.
fetch-depth: 0 # Needed for setuptools_scm to work correctly
- run: pip install --upgrade pip setuptools setuptools-scm nox
- run: python -m nox --non-interactive --session docs
- name: Set up Python
uses: actions/setup-python@v5 # https://github.com/actions/setup-python
with:
python-version: ${{ matrix.python-version }}
- name: Install python prerequisites
run: pip install -U --user pip setuptools setuptools-scm nox
- name: Sphinx documentation build
run: python -m nox --non-interactive --session docs
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import nox


@nox.session(python=['3.13'])
@nox.session(python=['3.12'])
def docs(session):
session.install(
'sphinx',
Expand Down

0 comments on commit 807e619

Please sign in to comment.