Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
run: |
python -m pip install --upgrade pip
#pip install -U -e .[docs]
pip install sphinx
pip install sphinx sphinx_rtd_theme
- name: Build docs
run: |
cd docs
Expand Down
7 changes: 6 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
sphinxver = sphinx.version_info
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.napoleon" if sphinxver >= (1, 3) else "sphinxcontrib.napoleon",
"sphinx.ext.napoleon",
"sphinx_rtd_theme",
"pscriptexample",
]

Expand All @@ -65,3 +66,7 @@

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = "sphinx"

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = "sphinx_rtd_theme"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies = []
[project.optional-dependencies]
lint = ["ruff"]
tests = ["pytest"]
docs = ["sphinx"]
docs = ["sphinx", "sphinx_rtd_theme"]
dev = ["pscript[lint,tests, docs]"]

[project.urls]
Expand Down
Loading