CSIT-474: CSIT documentation auto generation
[csit.git] / resources / tools / doc_gen / run_doc.sh
index bbb9940..1a03707 100755 (executable)
@@ -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}