aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2016-12-08 13:05:26 +0100
committerPeter Mikus <pmikus@cisco.com>2016-12-12 06:31:15 +0000
commit6cfd0b39c74858fc32876ea7b57bcd59e1ba9140 (patch)
treea5e221e9b3fb490b2891566cb55fb9755ceb1a5f /resources
parentdf5b8e6f57e93a5e96b34b854c07df1668651e14 (diff)
CSIT-474: CSIT documentation auto generation
- Remove env dirs from built doc - Create tar.gz file from built doc Change-Id: Ic5e5eb339058783b0e88296f332988a70ab6189e Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources')
-rwxr-xr-xresources/tools/doc_gen/run_doc.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/resources/tools/doc_gen/run_doc.sh b/resources/tools/doc_gen/run_doc.sh
index bbb9940468..1a037071a5 100755
--- a/resources/tools/doc_gen/run_doc.sh
+++ b/resources/tools/doc_gen/run_doc.sh
@@ -42,4 +42,9 @@ export PYTHONPATH=`pwd`
./gen_rst.py
# Generate the documentation:
-sphinx-build -vvv -b html ${WORKING_DIR}/ ${BUILD_DIR}/ \ No newline at end of file
+sphinx-build -vvv -b html ${WORKING_DIR}/ ${BUILD_DIR}/
+
+find . -type d -name 'env' | xargs rm -rf
+
+echo Creating csit.doc.tar.gz ...
+tar -czvf ./csit.doc.tar.gz ${BUILD_DIR}