diff options
Diffstat (limited to 'tools/skeleton.py')
-rwxr-xr-x | tools/skeleton.py | 4 |
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, |