X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fdoc_gen%2Frun_doc.sh;h=1a037071a5fc9c5629bbb7454f693cfbfde1ed34;hp=bbb994046850f0b9cdaf6e2c5361ba8a51807969;hb=6cfd0b39c74858fc32876ea7b57bcd59e1ba9140;hpb=df5b8e6f57e93a5e96b34b854c07df1668651e14 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}