]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Add a tox environment to build the docs 33/head
authorDenis Laxalde <denis.laxalde@dalibo.com>
Fri, 12 Feb 2021 13:06:00 +0000 (14:06 +0100)
committerDenis Laxalde <denis.laxalde@dalibo.com>
Fri, 12 Feb 2021 14:57:34 +0000 (15:57 +0100)
tox.ini

diff --git a/tox.ini b/tox.ini
index c0c0a2b2b7cf235c023f0688678c6c24d15f2ade..68a953ea89ac25fde41c93bc3274ed9ec1c8233a 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -17,6 +17,13 @@ commands = mypy
 deps = mypy >= 0.800
 skip_install = true
 
+[testenv:docs]
+commands = sphinx-build -W -T -b html docs docs/_build/html
+deps =
+    ./psycopg3
+    -r docs/requirements.txt
+skip_install = true
+
 [flake8]
 max-line-length = 85
 ignore = W503, E203