diff options
author | Joel Challis <git@zvecr.com> | 2020-11-10 15:00:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 07:00:40 -0800 |
commit | aae3b35c0fc363e4a9246e774b714a7a1ef7b6c0 (patch) | |
tree | 3d9adfd3eea4a72779b82787ed8210a1971832c5 /util/travis_docs.sh | |
parent | abf1902ff597e77e910c0fb9a8d132b46f78317b (diff) | |
download | qmk_firmware-aae3b35c0fc363e4a9246e774b714a7a1ef7b6c0.tar.gz qmk_firmware-aae3b35c0fc363e4a9246e774b714a7a1ef7b6c0.zip |
CI: Add docs build and deploy workflow (#7448)
* Add docs build and deploy workflow
* Remove old travis docs workflow
* update to cli command
* Tidy up for review
* formatting
* Update to pass style checks
* Update lib/python/qmk/cli/docs.py
Co-Authored-By: skullydazed <skullydazed@users.noreply.github.com>
* Review comments - build->generate, use of verbose
* Add docs
* Update to match recent actions
* Run within base_container
* Convert cli to generate-docs
* Convert cli to generate-docs - restore old file
* Convert cli to generate-docs
* Update docs
Co-authored-by: skullydazed <skullydazed@users.noreply.github.com>
Diffstat (limited to 'util/travis_docs.sh')
-rwxr-xr-x | util/travis_docs.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/util/travis_docs.sh b/util/travis_docs.sh deleted file mode 100755 index 93c2d7186..000000000 --- a/util/travis_docs.sh +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | source util/travis_utils.sh | ||
4 | source util/travis_push.sh | ||
5 | |||
6 | if [[ "$TRAVIS_COMMIT_MESSAGE" != *"[skip docs]"* ]] ; then | ||
7 | if git diff --name-only ${TRAVIS_COMMIT_RANGE} | grep -e '^quantum/' -e '^tmk_core/' -e '^docs/internals_.*'; then | ||
8 | echo "Generating internal docs..." | ||
9 | rm -rf doxygen | ||
10 | doxygen Doxyfile | ||
11 | moxygen -q -a -g -o docs/internals_%s.md doxygen/xml | ||
12 | git add docs/internals_* | ||
13 | git commit -m'autogenerated internal docs for ${TRAVIS_COMMIT_RANGE}' || true | ||
14 | fi | ||
15 | fi | ||