[mlpack-git] master: Don't use symlinks for mlpack-git doxygen output. Instead, build the documentation and then switch it out instantly with mv. (c86fce6)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Fri Aug 28 13:05:45 EDT 2015


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

On branch  : master
Link       : https://github.com/mlpack/mlpack.org/compare/633fc982314c018f7128a42b5f13f33c8ce08bb2...c86fce69baa05edf35db0a6467eb8ffa59b2e814

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

commit c86fce69baa05edf35db0a6467eb8ffa59b2e814
Author: Ryan Curtin <ryan at ratml.org>
Date:   Fri Aug 28 13:05:18 2015 -0400

    Don't use symlinks for mlpack-git doxygen output.
    Instead, build the documentation and then switch it out instantly with mv.


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

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

diff --git a/docs/update-git-documentation.sh b/docs/update-git-documentation.sh
index 4fec47d..d3261a3 100755
--- a/docs/update-git-documentation.sh
+++ b/docs/update-git-documentation.sh
@@ -31,6 +31,11 @@ for i in *.html; do
 done
 cd ../../
 
+# Now move the HTML to the right place.
+mv $docdir/doxygen $docdir/doxygen-old;
+mv $gitdir/build/doc/html $docdir/doxygen;
+rm -rf $docdir/doxygen-old;
+
 # Copy the man page results to the right directory.
 rm -rf $docdir/man/*
 cp share/man/*.gz $docdir/man/



More information about the mlpack-git mailing list