-
Notifications
You must be signed in to change notification settings - Fork 0
/
make_admon.sh
30 lines (23 loc) · 1.07 KB
/
make_admon.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Test admonitions
doconce format html admon
if [ $? -ne 0 ]; then echo "make.sh: abort"; exit 1; fi
cp admon.html admon_white.html
doconce format html admon --html_admon=colors
if [ $? -ne 0 ]; then echo "make.sh: abort"; exit 1; fi
cp admon.html admon_colors.html
doconce format html admon --html_admon=gray
if [ $? -ne 0 ]; then echo "make.sh: abort"; exit 1; fi
cp admon.html admon_gray.html
doconce format html admon --html_style=bootstrap --pygments_html_style=default --html_template=style_vagrant/template_vagrant.html --toc_depth=2 --html_toc_indent=0
if [ $? -ne 0 ]; then echo "make.sh: abort"; exit 1; fi
cp admon.html admon_yellow.html
doconce format html admon --html_admon=apricot --html_style=solarized
if [ $? -ne 0 ]; then echo "make.sh: abort"; exit 1; fi
cp admon.html admon_yellow_solarized.html
exit
doconce sphinx_dir dirname=tmp_admon admon
if [ $? -ne 0 ]; then echo "make.sh: abort"; exit 1; fi
python automake_sphinx.py
if [ $? -ne 0 ]; then echo "make.sh: abort"; exit 1; fi
cp tmp_admon/_build/html/admon.html admon_sphinx.html
#google-chrome admon_*.html