From d406c92ac183e129219c6caeeec2ffdf455cff21 Mon Sep 17 00:00:00 2001 From: Crayon2000 Date: Tue, 21 Nov 2017 09:50:03 -0500 Subject: [PATCH] Create a .nojekyll file in the doc folder Files that start with an underscore are missing in GitHub pages (doxygen documentation). The work around for this behavior is to include a .nojekyll file in the root path to turn off Jekyll. If we add a .nojekyll file, the source files will be published without any modifications. --- .travis.yml | 3 +++ GRRLIB/GRRLIB/GRRLIB_fbAdvanced.c | 2 +- GRRLIB/GRRLIB/grrlib/GRRLIB__lib.h | 6 +++--- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 94ce9e0..f85781e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,6 +31,9 @@ script: - (cd GRRLIB && sudo -E make PLATFORM=cube clean all) - doxygen grrlib.doxygen +before_deploy: + touch $TRAVIS_BUILD_DIR/doc/.nojekyll + deploy: provider: pages skip_cleanup: true diff --git a/GRRLIB/GRRLIB/GRRLIB_fbAdvanced.c b/GRRLIB/GRRLIB/GRRLIB_fbAdvanced.c index c62fb01..084b9ee 100644 --- a/GRRLIB/GRRLIB/GRRLIB_fbAdvanced.c +++ b/GRRLIB/GRRLIB/GRRLIB_fbAdvanced.c @@ -33,7 +33,7 @@ THE SOFTWARE. * @param color The color of the circle in RGBA format. * @param filled Set to true to fill the circle. */ -void GRRLIB_Circle (const f32 x, const f32 y, const f32 radius, +void GRRLIB_Circle (const f32 x, const f32 y, const f32 radius, const u32 color, const u8 filled) { guVector v[36]; u32 ncolor[36]; diff --git a/GRRLIB/GRRLIB/grrlib/GRRLIB__lib.h b/GRRLIB/GRRLIB/grrlib/GRRLIB__lib.h index 8b01708..6a429c5 100644 --- a/GRRLIB/GRRLIB/grrlib/GRRLIB__lib.h +++ b/GRRLIB/GRRLIB/grrlib/GRRLIB__lib.h @@ -83,7 +83,7 @@ void GRRLIB_Exit (void); //------------------------------------------------------------------------------ // GRRLIB_fbAdvanced.c - Render to framebuffer: Advanced primitives -void GRRLIB_Circle (const f32 x, const f32 y, const f32 radius, +void GRRLIB_Circle (const f32 x, const f32 y, const f32 radius, const u32 color, const u8 filled); //------------------------------------------------------------------------------ @@ -156,8 +156,8 @@ void GRRLIB_ObjectViewScale(f32 scalx, f32 scaly, f32 scalz); void GRRLIB_ObjectViewRotate(f32 angx, f32 angy, f32 angz); void GRRLIB_ObjectViewTrans(f32 posx, f32 posy, f32 posz); void GRRLIB_ObjectViewEnd(void); -void GRRLIB_ObjectView(f32 posx, f32 posy, f32 posz, f32 angx, f32 angy, f32 angz, f32 scalx, f32 scaly, f32 scalz); -void GRRLIB_ObjectViewInv(f32 posx, f32 posy, f32 posz, f32 angx, f32 angy, f32 angz, f32 scalx, f32 scaly, f32 scalz); +void GRRLIB_ObjectView(f32 posx, f32 posy, f32 posz, f32 angx, f32 angy, f32 angz, f32 scalx, f32 scaly, f32 scalz); +void GRRLIB_ObjectViewInv(f32 posx, f32 posy, f32 posz, f32 angx, f32 angy, f32 angz, f32 scalx, f32 scaly, f32 scalz); void GRRLIB_SetTexture(GRRLIB_texImg *tex, bool rep); void GRRLIB_DrawTorus(f32 r, f32 R, int nsides, int rings, bool filled, u32 col); void GRRLIB_DrawSphere(f32 r, int lats, int longs, bool filled, u32 col);