Change-Id: If4dc722282177f7174c12bdcc27411fc74b7ad42
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
# Python
.tox/
+__pycache__/
+*.pyc
_build/
+_static/integration/robot
--- /dev/null
+#!/bin/bash
+
+ROBOT_DIR=`pwd`/_static/integration/robot
+
+mkdir -p $ROBOT_DIR
+cd submodules/integration/test/csit/libraries
+for f in *.robot; do python -m robot.libdoc $f $ROBOT_DIR/$f.html; done
+for f in *.py; do python -m robot.libdoc $f $ROBOT_DIR/$f.html; done
+
# The '#' in the path makes sphinx think it's an anchor
'https://git.opendaylight.org/gerrit/#/admin/projects/releng/builder',
]
+
+# Build integration stuff
+import subprocess
+
+subprocess.call(["./build-integration-robot-libdoc.sh"])
+
--- /dev/null
+sphinx
+robotframework
skipsdist = true
[testenv:docs]
-deps = sphinx
+deps = -rrequirements.txt
commands = sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
[testenv:docs-linkcheck]
-deps = sphinx
+deps = -rrequirements.txt
commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/linkcheck