diff options
author | Oleg Morozenkov <m@oleg.rocks> | 2018-07-23 02:15:02 +0300 |
---|---|---|
committer | Oleg Morozenkov <m@oleg.rocks> | 2018-07-23 02:20:39 +0300 |
commit | 167e3e7607e43a0f06c7f87ced94f481e6525b0e (patch) | |
tree | 162772e9e0dc3646d2b1218858bd662845dd2de8 | |
parent | f13b7029e9af43282ebe6c2e9bb4dd749c8e450a (diff) |
Fix docs
-rw-r--r-- | Doxyfile | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | tools/push-ghpages | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -2011,7 +2011,7 @@ PERLMOD_MAKEVAR_PREFIX = # C-preprocessor directives found in the sources and include files. # The default value is: YES. -ENABLE_PREPROCESSING = YES +ENABLE_PREPROCESSING = NO # If the MACRO_EXPANSION tag is set to YES, doxygen will expand all macro names # in the source code. If set to NO, only conditional compilation will be diff --git a/tools/push-ghpages b/tools/push-ghpages index 91f606a..e7b41fa 100644..100755 --- a/tools/push-ghpages +++ b/tools/push-ghpages @@ -1,12 +1,14 @@ #!/bin/bash -set -e -o pipefail ./generate-docs +cd .. git checkout gh-pages -find . -maxdepth 1 -not -name "docs" -not -name ".git" -print0 | xargs -0 rm -r +find . -maxdepth 1 -not -name "docs" -not -name ".git" -not -name "tools" -print0 | xargs -0 rm -r mv docs/* . mv docs/.nojekyll . rmdir docs +rm -r tools/* git add -A git commit -m "Updated docs $(date)" git push origin gh-pages +git checkout master |