Revert "Copy README into index, don’t move it."

This reverts commit b1a037066b.

Fixes #1453
build-pdf-ret-val
Eric Holscher 2015-07-28 11:45:10 -07:00
parent b9a2542e91
commit 69bb655991
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ class BaseBuilder(object):
if not os.path.exists(index_filename):
readme_filename = os.path.join(docs_dir, 'README.{ext}'.format(ext=extension))
if os.path.exists(readme_filename):
os.system('cp {readme} {index}'.format(index=index_filename, readme=readme_filename))
os.system('mv {readme} {index}'.format(index=index_filename, readme=readme_filename))
else:
index_file = open(index_filename, 'w+')
index_text = """