File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 50
50
run : |
51
51
python -m pip install --upgrade pip
52
52
#pip install -U -e .[docs]
53
- pip install sphinx
53
+ pip install sphinx sphinx_rtd_theme
54
54
- name : Build docs
55
55
run : |
56
56
cd docs
Original file line number Diff line number Diff line change 39
39
sphinxver = sphinx .version_info
40
40
extensions = [
41
41
"sphinx.ext.autodoc" ,
42
- "sphinx.ext.napoleon" if sphinxver >= (1 , 3 ) else "sphinxcontrib.napoleon" ,
42
+ "sphinx.ext.napoleon" ,
43
+ "sphinx_rtd_theme" ,
43
44
"pscriptexample" ,
44
45
]
45
46
65
66
66
67
# The name of the Pygments (syntax highlighting) style to use.
67
68
pygments_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 = []
21
21
[project .optional-dependencies ]
22
22
lint = [" ruff" ]
23
23
tests = [" pytest" ]
24
- docs = [" sphinx" ]
24
+ docs = [" sphinx" , " sphinx_rtd_theme " ]
25
25
dev = [" pscript[lint,tests, docs]" ]
26
26
27
27
[project .urls ]
You can’t perform that action at this time.
0 commit comments