Add code for doxygen deployment

The @example doxygen section was added back to grrlib.h.
It was deleted by mistake in commit 4007b45af1.
This commit is contained in:
Crayon2000 2017-07-02 22:01:58 -04:00
parent 7494de85ce
commit 3161ad7a71
2 changed files with 19 additions and 0 deletions

View file

@ -10,6 +10,11 @@ env:
- DEVKITPRO=$HOME/devkitPro - DEVKITPRO=$HOME/devkitPro
- DEVKITPPC=${DEVKITPRO}/devkitPPC - DEVKITPPC=${DEVKITPRO}/devkitPPC
addons:
apt:
packages:
- doxygen
cache: cache:
directories: directories:
- ${DEVKITPRO} - ${DEVKITPRO}
@ -24,3 +29,12 @@ script:
- (cd GRRLIB && sudo -E make clean all install) - (cd GRRLIB && sudo -E make clean all install)
- (cd examples && make) - (cd examples && make)
- (cd GRRLIB && sudo -E make PLATFORM=cube clean all) - (cd GRRLIB && sudo -E make PLATFORM=cube clean all)
- doxygen grrlib.doxygen
deploy:
provider: pages
skip_cleanup: true
local_dir: $TRAVIS_BUILD_DIR/doc
github_token: $GITHUB_TOKEN
on:
branch: master

View file

@ -227,4 +227,9 @@ GRR_EXTERN u32 fb GRR_INIT(0);
* *
* @section Licence * @section Licence
* See the [LICENCE](LICENCE.md) file for licence rights and limitations (MIT). * See the [LICENCE](LICENCE.md) file for licence rights and limitations (MIT).
*
* @example template/source/main.c
* This example shows the minimum code required to use GRRLIB.
* It could be used as a template to start a new project.
* More elaborate examples can be found inside the \e examples folder.
*/ */