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

3
MDANSE_API="../MDANSE/Doc/API"
eric pellegrini's avatar
eric pellegrini committed
4

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

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

11
sphinx-apidoc -o ${MDANSE_API} -F --separate -d 5 -H MDANSE -A "G. Goret & E. Pellegrini"  -V 1.0 -R 1.0 ../MDANSE ../MDANSE/Externals
eric pellegrini's avatar
eric pellegrini committed
12

13
cp conf_html.py ${MDANSE_API}/conf.py
eric pellegrini's avatar
eric pellegrini committed
14

15
cp layout.html ${MDANSE_API}/_templates/
eric pellegrini's avatar
eric pellegrini committed
16

17
cp mdanse_logo.png ${MDANSE_API}/_static/
eric pellegrini's avatar
eric pellegrini committed
18

19
sphinx-build -b html ${MDANSE_API} ${MDANSE_API}
eric pellegrini's avatar
eric pellegrini committed
20 21