2d0297fadc690af79c49077b11891ccd8a64f1d0
[jabaws.git] / docs / 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
8 cp -r _build/html/* ../website/docs/
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/jabaws_manual.pdf
24
25 # for multiple versions of this manual we need to implement some solution
26 # like this one https://robpol86.github.io/sphinxcontrib-versioning/index.html
27 # in the future