aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-10 05:08:38 +0000
committerDavid Robillard <d@drobilla.net>2011-03-10 05:08:38 +0000
commitea9e669b92250db7c46c0aa048c43dad0c1daf8e (patch)
tree0dcdf045e6c3ab3f1c4ef90b0f0b33f6ee00c602
parent800609f7ee4f73ddcc6916fe346a74a9e33b6a9f (diff)
downloadlv2-ea9e669b92250db7c46c0aa048c43dad0c1daf8e.tar.xz
Make Contents and Resources minor headings in leading text instead of big sections.
-rw-r--r--doc/style.css1
-rw-r--r--lv2specgen/template.html32
2 files changed, 12 insertions, 21 deletions
diff --git a/doc/style.css b/doc/style.css
index 9df3849..db5d907 100644
--- a/doc/style.css
+++ b/doc/style.css
@@ -23,6 +23,7 @@ img {
}
h1, h2, h3, h4, h5, h6 {
line-height: 1em;
+ margin: 1em 0 0.5em 0;
}
h1 {
font-size: 180%;
diff --git a/lv2specgen/template.html b/lv2specgen/template.html
index 1b3111e..d9dab0b 100644
--- a/lv2specgen/template.html
+++ b/lv2specgen/template.html
@@ -33,36 +33,26 @@
<!-- META -->
<div class="content">
- <p>This document is generated from <a href="@FILENAME@">@FILENAME@</a>, which
- describes <a href="@URI@">@NAME@</a> (an <a href="http://lv2plug.in/">LV2</a>
- specification). Comments are welcome, please direct discussion to <a
- href="mailto:@MAIL@">@MAIL@</a>.</p>
- </div>
-
-
- <!-- CONTENTS -->
-
- <h2 class="sec" id="contents">Contents</h2>
- <div class="content">
- <ol id="toc">
+ <p>This document is generated from <a href="@FILENAME@">@FILENAME@</a>,
+ which describes <a href="@URI@">@NAME@</a>
+ (an <a href="http://lv2plug.in/">LV2</a> specification). Comments are
+ welcome, please direct discussion
+ to <a href="mailto:@MAIL@">@MAIL@</a>.</p>
+
+ <h3>Contents</h3>
+ <ol id="toc">
<li><a href="#sec-description">Description</a></li>
<li><a href="#sec-index">Index</a></li>
<li><a href="#sec-documentation">Documentation</a></li>
<li><a href="#sec-references">References</a></li>
- </ol>
- </div>
-
-
- <!-- RESOURCES -->
+ </ol>
- <h2 class="sec" id="resources">Resources</h2>
- <div class="content">
+ <h3>Resources</h3>
<ul>
- @FILES@
+ @FILES@
</ul>
</div>
-
<!-- DESCRIPTION -->
<h2 class="sec" id="sec-description">1. Description</h2>