File tree Expand file tree Collapse file tree 4 files changed +5
-6
lines changed
Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 22docutils
33commonmark
44recommonmark
5- sphinx
5+ sphinx>=9
66sphinx-rtd-theme
7- readthedocs-sphinx-ext
Original file line number Diff line number Diff line change 22steps :
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
Original file line number Diff line number Diff line change 3434extensions = ['sphinx.ext.napoleon' ,
3535 'sphinx.ext.autodoc' ,
3636 'sphinx.ext.autosectionlabel' ,
37- 'readthedocs_ext.readthedocs' , ]
37+ ]
38+
3839autosectionlabel_prefix_document = True
3940
4041# Add any paths that contain templates here, relative to this directory.
Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ dependencies = [
3535[project .optional-dependencies ]
3636
3737docs = [
38- ' readthedocs-sphinx-ext' ,
3938 ' sphinx' ,
4039 ' sphinx-rtd-theme' ,
4140]
You can’t perform that action at this time.
0 commit comments