JWS-116 New fixes to the documentation pages. Various fixes to the content, as well...
[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 ## add the following to the latex and change the date to match the release date
19
20 # \author{Peter Troshin \and Alexander Sherstnev \and Jim Procter \and Daniel Barton \and Fábio Madeira \and Alexey Drozdetskiy \and Suzanne Duce \and Geoffrey J. Barton}
21 # \authoraddress{
22 # The Barton Group
23 #
24 # Division of Computational Biology
25 #
26 # School of Life Sciences
27 #
28 # University of Dundee
29 #
30 # Dow Street
31 #
32 # Dundee DD1 5EH
33 #
34 # Scotland, UK
35 # }
36
37 # # \begin{sphinxadmonition}{note}{Note:}
38 # # Some of the links might not work properly in the pdf version...
39 # # \end{sphinxadmonition}
40 # cp _build/latex/JABAWS.pdf ../../jabaws-2.2-dev/docs/jabaws_manual.pdf
41 # cp _build/latex/JABAWS.pdf ../../website/docs/v_2_2_0/jabaws_manual.pdf
42 # rm -rf _build
43
44 # for multiple versions of this manual we need to implement some solution
45 # like this one https://robpol86.github.io/sphinxcontrib-versioning/index.html
46 # in the future