From 6cfd0b39c74858fc32876ea7b57bcd59e1ba9140 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Thu, 8 Dec 2016 13:05:26 +0100 Subject: 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 --- resources/tools/doc_gen/run_doc.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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} -- cgit 1.2.3-korg