Skip to content

Commit

Permalink
Documentation script
Browse files Browse the repository at this point in the history
  • Loading branch information
mannyray committed Jan 9, 2021
1 parent 54344ca commit 5528d99
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.DS_store
*~
documentation/*
2 changes: 1 addition & 1 deletion c++_implementation/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -1535,7 +1535,7 @@ FORMULA_TRANSPARENT = YES
# The default value is: NO.
# This tag requires that the tag GENERATE_HTML is set to YES.

USE_MATHJAX = NO
USE_MATHJAX = YES

# When MathJax is enabled you can set the default output format to be used for
# the MathJax output. See the MathJax site (see:
Expand Down
32 changes: 32 additions & 0 deletions generateDocumentation.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/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 ..

0 comments on commit 5528d99

Please sign in to comment.