Skip to content

Commit 49b60e4

Browse files
committed
Fixed README in Doxygen
1 parent 89eda18 commit 49b60e4

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

generateDocumentationAndDeploy.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ __AUTHOR__="Jeroen de Bruijn"
3030
# the gh-pages branch of a repository specified by GH_REPO_REF.
3131
# Before this script is used there should already be a gh-pages branch in the
3232
# repository.
33-
#
33+
#
3434
################################################################################
3535

3636
################################################################################
@@ -47,6 +47,10 @@ cd code_docs
4747
git clone -b gh-pages https://git@$GH_REPO_REF
4848
cd $GH_REPO_NAME
4949

50+
# Copy the README
51+
rm README.md
52+
cp ${TRAVIS_BUILD_DIR}/README.md .
53+
5054
##### Configure git.
5155
# Set the push default to simple i.e. push only the current branch.
5256
git config --global push.default simple
@@ -68,7 +72,7 @@ elif [ "$TRAVIS_BRANCH" == "Develop" ]; then
6872
rm -rf Develop
6973
mkdir -p Develop
7074
cd Develop
71-
else
75+
else
7276
echo "No Doxygen Documentation for $TRAVIS_BRANCH Branch."
7377
exit 0
7478
fi
@@ -112,4 +116,4 @@ else
112116
echo 'Warning: No documentation (html) files have been found!' >&2
113117
echo 'Warning: Not going to push the documentation to GitHub!' >&2
114118
exit 1
115-
fi
119+
fi

0 commit comments

Comments
 (0)