[mlpack-git] master: Process templates on each doxygen file. (a758cc4)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Fri Aug 28 09:51:02 EDT 2015


Repository : https://github.com/mlpack/mlpack.org

On branch  : master
Link       : https://github.com/mlpack/mlpack.org/compare/75c8b77a6b071b5f071810492ddc919172e55047...a758cc43f37ad9518ec200b3d10863841fcd6314

>---------------------------------------------------------------

commit a758cc43f37ad9518ec200b3d10863841fcd6314
Author: Ryan Curtin <ryan at ratml.org>
Date:   Fri Aug 28 09:50:48 2015 -0400

    Process templates on each doxygen file.


>---------------------------------------------------------------

a758cc43f37ad9518ec200b3d10863841fcd6314
 docs/update-git-documentation.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/docs/update-git-documentation.sh b/docs/update-git-documentation.sh
index 058f345..4fec47d 100755
--- a/docs/update-git-documentation.sh
+++ b/docs/update-git-documentation.sh
@@ -4,6 +4,7 @@
 
 gitdir=/var/www/www.mlpack.org/mlpack-git/
 docdir=/var/www/www.mlpack.org/docs/mlpack-git/
+postdir=/var/www/www.mlpack.org/docs/doxygen-post/
 
 cd $gitdir
 
@@ -22,6 +23,12 @@ make man doc
 # We need to invert all the images.
 cd doc/html/
 mogrify -negate *.png
+
+# Now postprocess all of the HTML.
+for i in *.html; do
+  $postdir/label_html_templates.py $i > tmp.html;
+  mv tmp.html $i;
+done
 cd ../../
 
 # Copy the man page results to the right directory.



More information about the mlpack-git mailing list