[docmaker] Add `top' links after blocks.

* src/tools/docmaker/tohtml.py (block_footer_middle): Implement it.
This commit is contained in:
Werner Lemberg 2014-11-29 16:12:37 +01:00
parent a31f971577
commit 3bb9702387
2 changed files with 12 additions and 2 deletions

View File

@ -1,8 +1,14 @@
2014-11-29 Werner Lemberg <wl@gnu.org>
[docmaker] Add `top' links after blocks.
* src/tools/docmaker/tohtml.py (block_footer_middle): Implement it.
2014-11-29 Werner Lemberg <wl@gnu.org> 2014-11-29 Werner Lemberg <wl@gnu.org>
* src/tools/docmaker/tohtml.py: Improve CSS for fields. * src/tools/docmaker/tohtml.py: Improve CSS for fields.
Make fields align horizotnally relative to full line width. Make fields align horizontally relative to full line width.
2014-11-29 Werner Lemberg <wl@gnu.org> 2014-11-29 Werner Lemberg <wl@gnu.org>

View File

@ -98,13 +98,16 @@ html_header_2 = """\
table.index-toc-link td.left { padding: 0 0.5em 0 0.5em; table.index-toc-link td.left { padding: 0 0.5em 0 0.5em;
font-size: 83%; font-size: 83%;
text-align: left; } text-align: left; }
table.index-toc-link td.middle { padding: 0 0.5em 0 0.5em;
font-size: 83%;
text-align: center; }
table.index-toc-link td.right { padding: 0 0.5em 0 0.5em; table.index-toc-link td.right { padding: 0 0.5em 0 0.5em;
font-size: 83%; font-size: 83%;
text-align: right; } text-align: right; }
table.synopsis { margin: auto; table.synopsis { margin: auto;
border: 0; border: 0;
border-collapse: separate; border-collapse: separate;
border-spacing: 2em 1ex; } border-spacing: 2em 0.6ex; }
table.synopsis tr { padding: 0; } table.synopsis tr { padding: 0; }
table.synopsis td { padding: 0; } table.synopsis td { padding: 0; }
@ -172,6 +175,7 @@ block_footer_start = """\
""" """
block_footer_middle = """\ block_footer_middle = """\
">Index</a>]</td> ">Index</a>]</td>
<td class="middle">[<a href="#">Top</a>]</td>
<td class="right">[<a href="\ <td class="right">[<a href="\
""" """
block_footer_end = """\ block_footer_end = """\