build_help.sh 454 Bytes
Newer Older
eric pellegrini's avatar
eric pellegrini committed
1 2
#!/bin/sh

3
MDANSE_HELP="../MDANSE/Doc/Help"
eric pellegrini's avatar
eric pellegrini committed
4

5
rm -rf ${MDANSE_HELP}
eric pellegrini's avatar
eric pellegrini committed
6

7 8 9
mkdir -p ${MDANSE_HELP}
mkdir ${MDANSE_HELP}/_static
mkdir ${MDANSE_HELP}/_templates
eric pellegrini's avatar
eric pellegrini committed
10

11
sphinx-apidoc -o  ${MDANSE_HELP} -F --separate -d 5 -H MDANSE -A "G. Goret & E. Pellegrini"  -V 1.0 -R 1.0 ../MDANSE
12

13
cp conf_help.py ${MDANSE_HELP}/conf.py
14

15
cp layout.html ${MDANSE_HELP}/_templates/
16

17 18 19
cp mdanse_logo.png ${MDANSE_HELP}/_static/

sphinx-build -b htmlhelp ${MDANSE_HELP} ${MDANSE_HELP}