Merge "Update documentation diagram with otn xponder" into stable/magnesium
authorThanh Ha (zxiiro) <zxiiro@gmail.com>
Fri, 6 Mar 2020 16:04:48 +0000 (16:04 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Fri, 6 Mar 2020 16:04:48 +0000 (16:04 +0000)
.readthedocs.yml [new file with mode: 0644]
tox.ini

diff --git a/.readthedocs.yml b/.readthedocs.yml
new file mode 100644 (file)
index 0000000..5ff506f
--- /dev/null
@@ -0,0 +1,14 @@
+# .readthedocs.yml
+# Read the Docs configuration file
+# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
+
+# Required
+version: 2
+
+sphinx:
+    configuration: docs/conf.py
+
+python:
+    version: 3.7
+    install:
+        - requirements: docs/requirements.txt
diff --git a/tox.ini b/tox.ini
index 1ca5c9c4f648ba481cd65c17b1a6495756106afc..325dc7d09b09b45d6367ff73dde58bc975dc4007 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -53,11 +53,13 @@ commands =
   {gnpy}: - sudo docker container rm -f gnpy_tpce_rest1
 
 [testenv:docs]
+basepython = python3
 deps = -rdocs/requirements.txt
 commands =
     sphinx-build -W -b html -n -d {envtmpdir}/doctrees ../docs/ {toxinidir}/docs/_build/html
 
 [testenv:docs-linkcheck]
+basepython = python3
 deps = -rdocs/requirements.txt
 commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ../docs/ {toxinidir}/docs/_build/linkcheck