Skip to content

Commit 3e0adeb

Browse files
committed
Try removing nox from doc build
1 parent 2dea62e commit 3e0adeb

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

.github/workflows/doc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ jobs:
2626
with:
2727
python-version: ${{ matrix.python-version }}
2828
- name: Install python prerequisites
29-
run: pip install -U --user pip setuptools setuptools-scm nox
29+
run: pip install -U --user pip setuptools setuptools-scm sphinx sphinx-autobuild sphinx-rtd-theme
3030
- name: Sphinx documentation build
31-
run: python -m nox --non-interactive --session docs
31+
run: python -m sphinx -M html docs docs/_build -nvWT

noxfile.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,6 @@
11
import nox
22

33

4-
@nox.session(python=['3.12'])
5-
def docs(session):
6-
session.install(
7-
'sphinx',
8-
'sphinx-rtd-theme',
9-
'.',
10-
'plugins/ext_test',
11-
)
12-
session.chdir('docs')
13-
tmpdir = session.create_tmp()
14-
15-
session.run(
16-
'sphinx-build', '-a', '-W', '-T', '-b', 'html', '-d', '{}/doctrees'.format(tmpdir), '.', '{}/html'.format(tmpdir)
17-
)
18-
19-
204
@nox.session(python=['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'])
215
@nox.parametrize('plugin', [None, 'ext_test', 'template', 'coverage'])
226
def tests(session, plugin):

0 commit comments

Comments
 (0)