Revert "add doc build files"
This reverts commit 247a1d5d1fd72ba008987ca2e39ae4328facb16b.
Reason for revert: This commits generated files, which should
not be controlled in Gerrit.
Change-Id: Iab55276bf02cc816d875319ed707479d93f59d48
Signed-off-by: Chris Lott <cl778h@att.com>
diff --git a/docs/tox.ini b/docs/tox.ini
new file mode 100644
index 0000000..dabc92c
--- /dev/null
+++ b/docs/tox.ini
@@ -0,0 +1,31 @@
+# documentation only
+[tox]
+minversion = 2.0
+envlist =
+ docs,
+ docs-linkcheck,
+skipsdist = true
+
+[testenv:docs]
+basepython = python3
+deps =
+ sphinx
+ sphinx-rtd-theme
+ sphinxcontrib-httpdomain
+ recommonmark
+ lfdocs-conf
+
+commands =
+ sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
+ echo "Generated docs available in {toxinidir}/docs/_build/html"
+whitelist_externals = echo
+
+[testenv:docs-linkcheck]
+basepython = python3
+deps = sphinx
+ sphinx-rtd-theme
+ sphinxcontrib-httpdomain
+ recommonmark
+ lfdocs-conf
+commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
+