Skip to content

Commit bbde5f1

Browse files
committed
trying to fix docs
1 parent 7dc654c commit bbde5f1

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/build_docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ jobs:
1313
# Standard drop-in approach that should work for most people.
1414
- uses: ammaraskar/sphinx-action@master
1515
with:
16+
pre-build-command: "pip install -r dev.requirements.txt"
1617
docs-folder: "docs/"

dev.requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ isort
44
pytest
55
pytest-qt
66
sphinx
7+
sphinx-autodoc-typehints
78
sphinx-rtd-theme
89
tox
910
twine

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"sphinx.ext.ifconfig",
3333
"sphinx.ext.autodoc",
3434
"sphinx.ext.napoleon",
35+
"sphinx_autodoc_typehints",
3536
"sphinx.ext.duration",
3637
]
3738

0 commit comments

Comments
 (0)