Skip to content

Commit c22d0e9

Browse files
authored
Ensure make doc fails on warnings and/or errors. (#920)
1 parent 214d775 commit c22d0e9

File tree

5 files changed

+4
-17
lines changed

5 files changed

+4
-17
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ jobs:
197197
# continue_on_error: true
198198
- name: Docs
199199
tox: docs
200+
# continue_on_error: true
200201
os:
201202
- name: Linux
202203
runs-on: ubuntu-latest

doc/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33

44
# You can set these variables from the command line.
5-
SPHINXOPTS =
5+
SPHINXOPTS = -W --keep-going
66
SPHINXBUILD = sphinx-build
77
SPHINXPROJ = PyModbus
88
SOURCEDIR = .
@@ -17,4 +17,4 @@ help:
1717
# Catch-all target: route all unknown targets to Sphinx using the new
1818
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1919
%: Makefile
20-
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
20+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

doc/source/library/pymodbus.client.asynchronous.async_io.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
pymodbus\.client\.asynchronous\.async_io package
2-
===============================================
2+
================================================
33

44
.. automodule:: pymodbus.client.asynchronous.async_io
55
:members:

doc/source/library/pymodbus.internal.rst

Lines changed: 0 additions & 13 deletions
This file was deleted.

doc/source/library/pymodbus.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ Subpackages
1515
pymodbus.constants
1616
pymodbus.datastore
1717
pymodbus.framer
18-
pymodbus.internal
1918
pymodbus.server
2019
pymodbus.repl
2120

0 commit comments

Comments
 (0)