Add line to disable jekyll on github.

This commit is contained in:
Todd Gamblin 2014-01-09 18:18:38 +01:00
parent 912a87c868
commit 72e54caf06

View file

@ -25,10 +25,15 @@ all: html
# This creates a git repository and commits generated html docs. # This creates a git repository and commits generated html docs.
# It them pushes the new branch into THIS repository as gh-pages. # It them pushes the new branch into THIS repository as gh-pages.
# #
# github for some reason runs jekyll automatically on gh-pages
# files, but we don't want that. 'touch .nojekyll' takes care
# of it.
#
gh-pages: _build/html gh-pages: _build/html
root="$$(git rev-parse --show-toplevel)" && \ root="$$(git rev-parse --show-toplevel)" && \
cd _build/html && \ cd _build/html && \
rm -rf .git && \ rm -rf .git && \
touch .nojekyll && \
git init && \ git init && \
git add . && \ git add . && \
git commit -m "Initial commit" && \ git commit -m "Initial commit" && \