mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-15 11:25:53 +08:00
PKG: Clarify instructions for gh-pages.
Also, clean up some whitespace.
This commit is contained in:
committed by
Stefan van der Walt
parent
4fa8bf8ac1
commit
4fb74935ec
+3
-3
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user