File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 68
68
. venv/bin/activate
69
69
# Don't use -q, show warning summary"
70
70
SPHINXOPTS="-W -n" spin docs
71
- if [[ $(find build/html -type f | wc -l) -lt 1000 ]]; then
72
- echo "doc build failed: build/html is empty"
71
+ if [[ $(find doc/ build/html -type f | wc -l) -lt 1000 ]]; then
72
+ echo "doc build failed: doc/ build/html is empty"
73
73
exit -1
74
74
fi
75
75
93
93
. venv/bin/activate
94
94
spin check-docs -v
95
95
spin check-tutorials -v
96
+ # Currently, this does two checks not done by check-docs:
97
+ # - validates ReST blocks (via validate_rst_syntax)
98
+ # - checks that all of a module's `__all__` is reflected in the
99
+ # module-level docstring autosummary
100
+ python tools/refguide_check.py -v
96
101
97
102
- persist_to_workspace :
98
103
root : ~/repo
You can’t perform that action at this time.
0 commit comments