summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-01-09 21:10:03 +0100
committerMichał Górny <mgorny@gentoo.org>2020-01-09 21:10:03 +0100
commitd625db8d322c29d341c04223b386b0be28060663 (patch)
treeff45be148055e04f509c29b249d7f63124cd5d9c
parentKeep _static and _templates directories (diff)
downloadpolicy-guide-d625db8d322c29d341c04223b386b0be28060663.tar.gz
policy-guide-d625db8d322c29d341c04223b386b0be28060663.tar.bz2
policy-guide-d625db8d322c29d341c04223b386b0be28060663.zip
Include tox.ini to build via virtualenv
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--.gitignore1
-rw-r--r--conf.py2
-rw-r--r--tox.ini10
3 files changed, 12 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index ba65b13..301101c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/_build/
+/.tox/
diff --git a/conf.py b/conf.py
index 15c2c65..34b7273 100644
--- a/conf.py
+++ b/conf.py
@@ -62,7 +62,7 @@ language = None
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path .
-exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
+exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '.tox']
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..5913c11
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,10 @@
+[tox]
+envlist = py3
+skipsdist = True
+
+[testenv]
+deps =
+ sphinx
+
+commands =
+ make html