diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/docs/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/spack/docs/Makefile b/lib/spack/docs/Makefile index 8762fa06b0..4baba720ef 100644 --- a/lib/spack/docs/Makefile +++ b/lib/spack/docs/Makefile @@ -25,10 +25,15 @@ all: html # This creates a git repository and commits generated html docs. # 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 root="$$(git rev-parse --show-toplevel)" && \ cd _build/html && \ rm -rf .git && \ + touch .nojekyll && \ git init && \ git add . && \ git commit -m "Initial commit" && \ |