From 0a286773059f6c1f1bd3d2001f76b33dc29cee5a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 14 Nov 2011 05:04:59 +0000 Subject: Simplify footer (remove images). --- lv2specgen/footer.html | 22 ---------------------- lv2specgen/lv2specgen.py | 10 +--------- lv2specgen/template.html | 21 +++++++++++++++++++-- 3 files changed, 20 insertions(+), 33 deletions(-) delete mode 100644 lv2specgen/footer.html (limited to 'lv2specgen') diff --git a/lv2specgen/footer.html b/lv2specgen/footer.html deleted file mode 100644 index 5259e4c..0000000 --- a/lv2specgen/footer.html +++ /dev/null @@ -1,22 +0,0 @@ - - - Valid XHTML + RDFa - - - - - Valid CSS - - - - Creative Commons Attribution 3.0 Unported License - - diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py index 5c62701..c1c7741 100755 --- a/lv2specgen/lv2specgen.py +++ b/lv2specgen/lv2specgen.py @@ -934,14 +934,6 @@ def specgen(specloc, indir, docdir, style_uri, doc_base, doclinks, instances=Fal f = open(temploc, "r") template = f.read() - # Footer - footerloc = os.path.join(indir, "footer.html") - footer = '' - f = open(footerloc, "r") - footer = f.read() - - template = template.replace('@FOOTER@', footer) - # Build a symbol -> link mapping for external links dlfile = open(doclinks, 'r') for line in dlfile: @@ -1118,7 +1110,7 @@ def usage(): print("""Usage: %s ONTOLOGY INDIR STYLE OUTPUT [FLAGS] ONTOLOGY : Path to ontology file - INDIR : Input directory containing template.html footer.html style.css + INDIR : Input directory containing template.html and style.css STYLE : Stylesheet URI OUTPUT : HTML output path BASE : Documentation output base URI diff --git a/lv2specgen/template.html b/lv2specgen/template.html index e5399c8..8906e6f 100644 --- a/lv2specgen/template.html +++ b/lv2specgen/template.html @@ -50,8 +50,25 @@ -- cgit v1.2.1