-
Notifications
You must be signed in to change notification settings - Fork 21
/
generateDocumentation.sh
executable file
·61 lines (54 loc) · 1.63 KB
/
generateDocumentation.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/bin/bash
#script to generate documentation
rm -rf documentation/*
rmdir documentation
mkdir documentation
cd matlab_implementation
rm -rf Doc/*
rmdir Doc
doxygen Doxyfile
mv Doc/html ../documentation/matlab
mkdir ../documentation/matlab/assets
mkdir -p ../documentation/matlab/assets/continuous_discrete/examples
cp continuous_discrete/examples/*.png ../documentation/matlab/assets/continuous_discrete/examples # 2>/dev/null
mkdir -p ../documentation/matlab/assets/cubature/examples
cp cubature/examples/*.png ../documentation/matlab/assets/cubature/examples #2>/dev/null
mkdir -p ../documentation/matlab/assets/discrete_discrete/examples
cp discrete_discrete/examples/*.png ../documentation/matlab/assets/discrete_discrete/examples #2>/dev/null
mkdir -p ../documentation/matlab/assets/ensemble_stochastic/examples
cp ensemble_stochastic/examples/*.png ../documentation/matlab/assets/ensemble_stochastic/examples #2>/dev/null
mkdir -p ../documentation/matlab/assets/particle/examples
cp particle/examples/*.png ../documentation/matlab/assets/particle/examples #2>/dev/null
cd ..
cd c++_implementation
rm -rf Doc/*
rmdir Doc
doxygen Doxyfile
mv html ../documentation/cpp
cp assets/*.png ../documentation/cpp
cd ..
cd python_implementation
cd discrete_discrete
rm -rf html/*
rm -rf latex/*
rmdir html
rmdir latex
doxygen Doxyfile
mv html ../../documentation/python
cp examples/*.png ../../documentation/python/
rm -rf latex/*
rmdir latex
cd ../..
pwd
cd java_implementation
rm -rf html/*
rm -rf latex/*
rmdir html
rmdir latex
pwd
doxygen Doxyfile
mv html ../documentation/java
cp examples/*.png ../documentation/java/
rm -rf latex/*
rmdir latex
cd ../..