1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-05-02 21:53:51 +00:00

Adding new build location

This commit is contained in:
Henry Fredrick Schreiner 2017-02-15 12:17:49 -05:00
parent 057e3df84a
commit 608124bd81
2 changed files with 7 additions and 4 deletions

View File

@ -44,8 +44,9 @@ GH_REPO_REF="github.com/$GH_REPO_ORG/$GH_REPO_NAME.git"
# Create a clean working directory for this script. # Create a clean working directory for this script.
# Get the current gh-pages branch # Get the current gh-pages branch
git clone -b gh-pages https://git@$GH_REPO_REF code_docs cd docs
cd code_docs git clone -b gh-pages https://git@$GH_REPO_REF html
cd html
##### Configure git. ##### Configure git.
# Set the push default to simple i.e. push only the current branch. # Set the push default to simple i.e. push only the current branch.
@ -71,6 +72,7 @@ echo "" > .nojekyll
##### Generate the Doxygen code documentation and log the output. ##### ##### Generate the Doxygen code documentation and log the output. #####
echo 'Generating Doxygen code documentation...' echo 'Generating Doxygen code documentation...'
# Redirect both stderr and stdout to the log file AND the console. # Redirect both stderr and stdout to the log file AND the console.
cd ..
doxygen $DOXYFILE 2>&1 | tee doxygen.log doxygen $DOXYFILE 2>&1 | tee doxygen.log
################################################################################ ################################################################################
@ -80,6 +82,7 @@ doxygen $DOXYFILE 2>&1 | tee doxygen.log
# both exist. This is a good indication that Doxygen did it's work. # both exist. This is a good indication that Doxygen did it's work.
if [ -d "html" ] && [ -f "html/index.html" ]; then if [ -d "html" ] && [ -f "html/index.html" ]; then
cd html
echo 'Uploading documentation to the gh-pages branch...' echo 'Uploading documentation to the gh-pages branch...'
# Add everything in this directory (the Doxygen code documentation) to the # Add everything in this directory (the Doxygen code documentation) to the
# gh-pages branch. # gh-pages branch.

View File

@ -790,7 +790,7 @@ WARN_LOGFILE =
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
# Note: If this tag is empty the current directory is searched. # Note: If this tag is empty the current directory is searched.
INPUT = ../include ../docs/mainpage.md INPUT = ../include mainpage.md
# This tag can be used to specify the character encoding of the source files # This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
@ -1111,7 +1111,7 @@ GENERATE_HTML = YES
# The default directory is: html. # The default directory is: html.
# This tag requires that the tag GENERATE_HTML is set to YES. # This tag requires that the tag GENERATE_HTML is set to YES.
HTML_OUTPUT = HTML_OUTPUT = html
# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each # The HTML_FILE_EXTENSION tag can be used to specify the file extension for each
# generated HTML page (for example: .htm, .php, .asp). # generated HTML page (for example: .htm, .php, .asp).