Skip to content

Commit 055ebdf

Browse files
authored
Merge pull request #1340 from marscher/fix_rtd
removed readthedocs_ext from requirements
2 parents 22e048f + 24ac30b commit 055ebdf

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

.azure/doc-requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@ Pygments
22
docutils
33
commonmark
44
recommonmark
5-
sphinx
5+
sphinx>=9
66
sphinx-rtd-theme
7-
readthedocs-sphinx-ext

.azure/scripts/documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
steps:
33
- task: UsePythonVersion@0
44
inputs:
5-
versionSpec: '3.9'
5+
versionSpec: '3.11'
66

77
- script: |
88
pip install --exists-action=w --no-cache-dir -r test-requirements.txt -r .azure/doc-requirements.txt
99
displayName: 'Install requirements'
1010

1111
- script: |
12-
python -m sphinx -T -b readthedocs -d _build/doctrees-readthedocs -D language=en -W doc build/html
12+
python -m sphinx -T -b html -d _build/doctrees-readthedocs -D language=en -W doc build/html
1313
displayName: 'Check documentation'
1414

1515
- task: CopyFiles@2

doc/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
extensions = ['sphinx.ext.napoleon',
3535
'sphinx.ext.autodoc',
3636
'sphinx.ext.autosectionlabel',
37-
'readthedocs_ext.readthedocs', ]
37+
]
38+
3839
autosectionlabel_prefix_document = True
3940

4041
# Add any paths that contain templates here, relative to this directory.

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ dependencies = [
3535
[project.optional-dependencies]
3636

3737
docs = [
38-
'readthedocs-sphinx-ext',
3938
'sphinx',
4039
'sphinx-rtd-theme',
4140
]

0 commit comments

Comments
 (0)