PKG: Clarify instructions for gh-pages.

Also, clean up some whitespace.
This commit is contained in:
Tony S Yu
2012-10-13 23:24:54 -07:00
committed by Stefan van der Walt
parent 4fa8bf8ac1
commit 4fb74935ec
+3 -3
View File
@@ -108,7 +108,7 @@ if __name__ == '__main__':
shutil.copytree(html_dir, dest)
# copy pdf file into tree
#shutil.copy(pjoin(pdf_dir, 'scikits.image.pdf'), pjoin(dest, 'scikits.image.pdf'))
try:
cd(pages_dir)
status = sh2('git status | head -1')
@@ -117,7 +117,7 @@ if __name__ == '__main__':
e = 'On %r, git branch is %r, MUST be "gh-pages"' % (pages_dir,
branch)
raise RuntimeError(e)
sh("touch .nojekyll")
sh("touch .nojekyll")
sh('git add .nojekyll')
sh('git add index.html')
sh('git add %s' % tag)
@@ -131,4 +131,4 @@ if __name__ == '__main__':
print
print 'Now verify the build in: %r' % dest
print "If everything looks good, 'git push'"
print "If everything looks good, run 'git push' inside doc/gh-pages."