3 ROBOT_DIR=`pwd`/_static/integration/robot
4 TMP_ROBOT_DIR=`pwd`/_build/robot
6 mkdir -p $ROBOT_DIR $TMP_ROBOT_DIR
7 cd submodules/integration/test/csit/libraries
8 for f in *.robot; do python -m robot.libdoc $f $TMP_ROBOT_DIR/$f.html; done
9 for f in *.py; do python -m robot.libdoc $f $TMP_ROBOT_DIR/$f.html > /dev/null 2>&1; done
12 echo "<html><body><ul>" > $ROBOT_DIR/index.html
14 sed 's/black/orange/; s/white/black/; s/^<body>/<body><img src="..\/..\/odl.png">/' $f > $ROBOT_DIR/$f
15 echo "<li><a href=\"$f\">$f</a></li>" >> $ROBOT_DIR/index.html
17 echo "</ul></body></html>" >> $ROBOT_DIR/index.html