From e8683f8709fd9d0a9d0eaf9c554371d9c9824138 Mon Sep 17 00:00:00 2001 From: Andreas Smas Date: Mon, 12 Feb 2018 20:20:42 -0800 Subject: [PATCH] Generate Doxygen files and upload to gh-pages branch --- .doozer.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.doozer.json b/.doozer.json index 8827908f..7e71053b 100644 --- a/.doozer.json +++ b/.doozer.json @@ -18,6 +18,28 @@ "git clone --depth 1 https://github.com/switchbrew/switch-examples", "DEVKITPRO=${DEVKITPATH} make -C switch-examples/" ] + }, + + "docs": { + // Only invoke docs target when building from master branch + "branch": "master", + + "buildenv": "xenial-amd64", + "builddeps": [ + "doxygen" + ], + + "buildcmd": [ + "cd nx", "doxygen" + ], + + "artifacts": [{ + "source": "nx/docs/html", + "destination": { + "type": "git", + "branch": "gh-pages" + } + }] } } }