File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5050 run : |
5151 python -m pip install --upgrade pip
5252 #pip install -U -e .[docs]
53- pip install sphinx
53+ pip install sphinx sphinx_rtd_theme
5454 - name : Build docs
5555 run : |
5656 cd docs
Original file line number Diff line number Diff line change 3939sphinxver = sphinx .version_info
4040extensions = [
4141 "sphinx.ext.autodoc" ,
42- "sphinx.ext.napoleon" if sphinxver >= (1 , 3 ) else "sphinxcontrib.napoleon" ,
42+ "sphinx.ext.napoleon" ,
43+ "sphinx_rtd_theme" ,
4344 "pscriptexample" ,
4445]
4546
6566
6667# The name of the Pygments (syntax highlighting) style to use.
6768pygments_style = "sphinx"
69+
70+ # The theme to use for HTML and HTML Help pages. See the documentation for
71+ # a list of builtin themes.
72+ html_theme = "sphinx_rtd_theme"
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ dependencies = []
2121[project .optional-dependencies ]
2222lint = [" ruff" ]
2323tests = [" pytest" ]
24- docs = [" sphinx" ]
24+ docs = [" sphinx" , " sphinx_rtd_theme " ]
2525dev = [" pscript[lint,tests, docs]" ]
2626
2727[project .urls ]
You can’t perform that action at this time.
0 commit comments