From: Tibor Frank Date: Thu, 8 Dec 2016 12:05:26 +0000 (+0100) Subject: CSIT-474: CSIT documentation auto generation X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=6cfd0b39c74858fc32876ea7b57bcd59e1ba9140 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 --- 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}