rename api docs to internals

This commit is contained in:
Jack Humbert 2018-03-26 14:24:30 -04:00 committed by skullydazed
parent 66162b2b68
commit ae7284edb8
10 changed files with 14 additions and 14 deletions

View file

@ -3,12 +3,12 @@
source util/travis_push.sh
if [[ "$TRAVIS_COMMIT_MESSAGE" != *"[skip docs]"* ]] ; then
if git diff --name-only ${TRAVIS_COMMIT_RANGE} | grep -e '^quantum/' -e '^tmk_core/' -e '^docs/api_.*'; then
echo "Generating API docs..."
if git diff --name-only ${TRAVIS_COMMIT_RANGE} | grep -e '^quantum/' -e '^tmk_core/' -e '^docs/internals_.*'; then
echo "Generating internal docs..."
rm -rf doxygen
doxygen Doxyfile
moxygen -q -a -g -o docs/api_%s.md doxygen/xml
git add docs/api_*
git commit -m'autogenerated api docs for ${TRAVIS_COMMIT_RANGE}' || true
moxygen -q -a -g -o docs/internals_%s.md doxygen/xml
git add docs/internals_*
git commit -m'autogenerated internal docs for ${TRAVIS_COMMIT_RANGE}' || true
fi
fi