mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-09 01:39:12 +00:00
d382eeeb9d
* Fix travis change detection * Fix travis change detection - add back python ignore
15 lines
488 B
Bash
Executable file
15 lines
488 B
Bash
Executable file
#!/bin/bash
|
|
|
|
source util/travis_utils.sh
|
|
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/internals_.*'; then
|
|
echo "Generating internal docs..."
|
|
rm -rf doxygen
|
|
doxygen Doxyfile
|
|
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
|