File tree Expand file tree Collapse file tree 4 files changed +4
-60
lines changed Expand file tree Collapse file tree 4 files changed +4
-60
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ function typing {
79
79
80
80
81
81
function docs {
82
- make -C docs html SPHINXOPTS= " -W " " $@ "
82
+ sphinx-build -E -W docs docs/_build/ html " $@ "
83
83
}
84
84
85
85
@@ -93,8 +93,8 @@ function typing-dev {
93
93
}
94
94
95
95
function docs-dev {
96
- make -C docs clean
97
- entr-project-files -cdr " $SCRIPT " docs " $@ "
96
+ rm -r docs/_build/html
97
+ entr-project-files -cdr sphinx-build -W docs docs/_build/html " $@ "
98
98
}
99
99
100
100
function serve-dev {
Original file line number Diff line number Diff line change @@ -32,4 +32,4 @@ commands = mypy
32
32
33
33
[testenv:docs]
34
34
dependency_groups = docs
35
- commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir} /html
35
+ commands = sphinx-build -E -W docs docs/_build /html
You can’t perform that action at this time.
0 commit comments