File tree 4 files changed +14
-49
lines changed
4 files changed +14
-49
lines changed Original file line number Diff line number Diff line change @@ -13,3 +13,6 @@ python:
13
13
- requirements : requirements.txt
14
14
- method : pip
15
15
path : .
16
+
17
+ sphinx :
18
+ configuration : docs/source/conf.py
Original file line number Diff line number Diff line change 2
2
#
3
3
4
4
# You can set these variables from the command line.
5
- SPHINXOPTS = # "-W" treats warnings as errors
6
- SPHINXBUILD ? = sphinx-multiversion
7
- SOURCEDIR = .
8
- BUILDDIR ? = _build
5
+ SPHINXOPTS =
6
+ SPHINXBUILD = sphinx-build
7
+ SOURCEDIR = source
8
+ BUILDDIR = _build
9
9
10
10
# Put it first so that "make" without argument is like "make help".
11
11
help :
@@ -20,6 +20,11 @@ clean:
20
20
local :
21
21
sphinx-build " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
22
22
23
+ doctest :
24
+ $(SPHINXBUILD ) -b doctest $(SOURCEDIR ) $(BUILDDIR ) /doctest
25
+ @echo " Testing of doctests in the sources finished, look at the " \
26
+ " results in $( BUILDDIR) /doctest/output.txt."
27
+
23
28
# Catch-all target: route all unknown targets to Sphinx using the new
24
29
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
25
30
% : Makefile
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 56
56
# ones.
57
57
extensions = [
58
58
"sphinx.ext.autodoc" ,
59
+ "sphinx.ext.doctest" ,
59
60
"sphinx.ext.autosummary" ,
60
61
"sphinx.ext.viewcode" ,
61
62
"sphinx.ext.napoleon" ,
127
128
# Add any paths that contain custom static files (such as style sheets) here,
128
129
# relative to this directory. They are copied after the builtin static files,
129
130
# so a file named "default.css" will overwrite the builtin "default.css".
130
- html_static_path = ["_static" ]
131
+ html_static_path = ["../ _static" ]
131
132
132
133
# -- Options for HTMLHelp output ---------------------------------------------
133
134
You can’t perform that action at this time.
0 commit comments