Skip to content

Commit 78b9cc9

Browse files
michaelraczyckitwiecki
authored andcommitted
doctest setup with solved merge conflicts
1 parent 1fcb0d1 commit 78b9cc9

File tree

3 files changed

+12
-216
lines changed

3 files changed

+12
-216
lines changed

.readthedocs.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@ python:
1313
- requirements: requirements.txt
1414
- method: pip
1515
path: .
16+
17+
sphinx:
18+
fail_on_warning: false
19+
configuration: docs/source/conf.py

docs/Makefile

+8-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
#
33

44
# You can set these variables from the command line.
5-
SPHINXOPTS = # "-W" treats warnings as errors
6-
SPHINXBUILD ?= sphinx-multiversion
7-
SOURCEDIR = .
5+
SPHINXOPTS =
6+
SPHINXBUILD = sphinx-build
7+
SOURCEDIR = source
88
BUILDDIR ?= _build
99

1010
# Put it first so that "make" without argument is like "make help".
@@ -24,3 +24,8 @@ local:
2424
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
2525
%: Makefile
2626
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
27+
28+
doctest:
29+
$(SPHINXBUILD) -b doctest $(SOURCEDIR) $(BUILDDIR)/doctest
30+
@echo "Testing of doctests in the sources finished, look at the " \
31+
"results in $(BUILDDIR)/doctest/output.txt"

docs/conf.py

-213
This file was deleted.

0 commit comments

Comments
 (0)