JWS-116 Minor changes to the bash script used to generate the docs with Sphinx
authorFábio Madeira <fmmarquesmadeira@dundee.ac.uk>
Wed, 12 Apr 2017 16:29:35 +0000 (17:29 +0100)
committerFábio Madeira <fmmarquesmadeira@dundee.ac.uk>
Wed, 12 Apr 2017 16:29:35 +0000 (17:29 +0100)
docs/generate_manual.sh

index 9e13e60..2d0297f 100755 (executable)
@@ -7,8 +7,9 @@ make html
 mkdir ../website/docs
 cp -r _build/html/* ../website/docs/
 # extra for testing
-mkdir ../../jabaws-2.2-dev/docs
-cp -r _build/html/* ../../jabaws-2.2-dev/docs/
+#mkdir ../../jabaws-2.2-dev/docs
+#cp -r _build/html/* ../../jabaws-2.2-dev/docs/
+# rm -rf _build
 
 # # generating the pdf
 # make latex
@@ -20,3 +21,7 @@ cp -r _build/html/* ../../jabaws-2.2-dev/docs/
 # # \end{sphinxadmonition}
 # cp _build/latex/JABAWS.pdf ../../jabaws-2.2-dev/docs/jabaws_manual.pdf
 # cp _build/latex/JABAWS.pdf ../website/docs/jabaws_manual.pdf
+
+# for multiple versions of this manual we need to implement some solution
+# like this one https://robpol86.github.io/sphinxcontrib-versioning/index.html
+# in the future