summaryrefslogtreecommitdiffstats
path: root/tools/skeleton.py
diff options
context:
space:
mode:
authorBoris Nagaev <bnagaev@gmail.com>2016-08-22 20:29:49 (GMT)
committerBoris Nagaev <bnagaev@gmail.com>2016-08-27 09:31:30 (GMT)
commit8e35c23242cbc7aba16463f4f9ffcc6cc17d66f4 (patch)
tree1289f786f2b9d42a5fa396d5afcec8be40e74cf7 /tools/skeleton.py
parentcce8094fb001c327cc08483eb488ba8508b9bf25 (diff)
downloadmxe-8e35c23242cbc7aba16463f4f9ffcc6cc17d66f4.zip
mxe-8e35c23242cbc7aba16463f4f9ffcc6cc17d66f4.tar.gz
mxe-8e35c23242cbc7aba16463f4f9ffcc6cc17d66f4.tar.bz2
move index.html to docs/
See https://github.com/mxe/mxe/issues/1500
Diffstat (limited to 'tools/skeleton.py')
-rwxr-xr-xtools/skeleton.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/skeleton.py b/tools/skeleton.py
index 66e89e3..28a60a9 100755
--- a/tools/skeleton.py
+++ b/tools/skeleton.py
@@ -128,7 +128,7 @@ def make_build(options, builder):
def update_index_html(name, description, website):
# read HTML and find a list of packages
- with open('index.html', 'rb') as f:
+ with open('docs/index.html', 'rb') as f:
index_html = f.read()
if not isinstance(index_html, str):
# Python 3
@@ -171,7 +171,7 @@ def update_index_html(name, description, website):
(_, tmp_index_html) = tempfile.mkstemp()
with open(tmp_index_html, 'wt') as f:
f.write(index_html)
- os.rename(tmp_index_html, 'index.html')
+ os.rename(tmp_index_html, 'docs/index.html')
def make_skeleton(
name,