Skip to content

Commit

Permalink
Making sure nojekyll present
Browse files Browse the repository at this point in the history
  • Loading branch information
djpugh committed Aug 30, 2018
1 parent f14ed15 commit d3c9837
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,10 @@ def setup_gh_pages(travis=False):
os.remove(item)
print("------------------------------\n\nCopying Documentation from Temporary Directory\n\n------------------------------")
copy_recursively(os.path.join(temp_dir, 'html'), os.path.abspath('./'))
if not os.path.exists('.nojekyll'):
with open('.nojekyll', 'w') as f:
f.write('')
f.close()
print("------------------------------\n\nRemoving Temporary Directory\n\n------------------------------")
shutil.rmtree(temp_dir)
print("------------------------------\n\nCommitting Documentation to gh-pages\n\n------------------------------")
Expand Down

0 comments on commit d3c9837

Please sign in to comment.