aboutsummaryrefslogtreecommitdiffstats
path: root/gendoc.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-14 05:04:59 +0000
committerDavid Robillard <d@drobilla.net>2011-11-14 05:04:59 +0000
commit0a286773059f6c1f1bd3d2001f76b33dc29cee5a (patch)
treefb832a75ea1c7a148d66577ab670cc5e7f28e774 /gendoc.py
parent1d75440f9719b9f2de57f6250f574b427939ea50 (diff)
downloadlv2-0a286773059f6c1f1bd3d2001f76b33dc29cee5a.tar.xz
Simplify footer (remove images).
Diffstat (limited to 'gendoc.py')
-rwxr-xr-xgendoc.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/gendoc.py b/gendoc.py
index a7d24b3..16ba199 100755
--- a/gendoc.py
+++ b/gendoc.py
@@ -111,8 +111,6 @@ subst_file('doc/htaccess.in', '%s/lv2core/.htaccess' % out_base,
{ '@NAME@': 'lv2core',
'@BASE@': '/ns/lv2core' })
-footer = open('./lv2specgen/footer.html', 'r')
-
# Generate main (ontology) documentation and indices
for dir in ['ext', 'extensions']:
print("** Generating %s%s documentation" % (URIPREFIX, dir))
@@ -242,10 +240,9 @@ for dir in ['ext', 'extensions']:
index_html += '</table>\n</div>\n'
index_html += '<div id="footer">'
- index_html += '<span class="footer-text">Generated on '
+ index_html += '<div>Generated on '
index_html += datetime.datetime.utcnow().strftime('%F %H:%M UTC')
- index_html += ' by gendoc.py</span>&nbsp;'
- index_html += footer.read() + '</div>'
+ index_html += ' by gendoc.py</div></div>'
index_html += '</body></html>\n'
@@ -261,4 +258,3 @@ except:
shutil.copy('lv2specgen/style.css', os.path.join('build', STYLEURI))
devnull.close()
-footer.close()