Updated git submodules
[docs.git] / docs / build-integration-robot-libdoc.sh
1 #!/bin/bash
2
3 ROBOT_DIR=`pwd`/_static/integration/robot
4 TMP_ROBOT_DIR=`pwd`/_build/robot
5
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
10 cd $TMP_ROBOT_DIR/
11 for f in *.html; do sed 's/black/orange/; s/white/black/; s/^<body>/<body><img src="..\/..\/odl.png">/' $f > $ROBOT_DIR/$f; done