JWS-109 New fixes and updated looks as suggested by Geoff. Added new section about...
[jabaws.git] / docs / v_2_2_0 / generate_manual.sh
1 #!/usr/bin/env bash
2
3 # run from ./docs
4 rm -rf _build
5 # generating the html pages
6 make html
7 mkdir ../website/docs/v_2_2_0/
8 cp -r _build/html/* ../../website/docs/v_2_2_0/
9 # extra for testing
10 #mkdir ../../jabaws-2.2-dev/docs
11 #cp -r _build/html/* ../../jabaws-2.2-dev/docs/
12 rm -rf _build
13
14 # # generating the pdf
15 # make latex
16 # # manual edit to remove unecessary ines in the index page
17 # # also edit the author list to
18 # # \author{Peter Troshin, et al.}
19 # # \begin{sphinxadmonition}{note}{Note:}
20 # # Some of the links might not work properly in the pdf version...
21 # # \end{sphinxadmonition}
22 # cp _build/latex/JABAWS.pdf ../../jabaws-2.2-dev/docs/jabaws_manual.pdf
23 # cp _build/latex/JABAWS.pdf ../../website/docs/v_2_2_0/jabaws_manual.pdf
24 # rm -rf _build
25
26 # for multiple versions of this manual we need to implement some solution
27 # like this one https://robpol86.github.io/sphinxcontrib-versioning/index.html
28 # in the future