diff options
| author | Simon Tatham <anakin@pobox.com> | 2014-08-02 14:46:52 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2014-08-02 14:46:52 +0000 |
| commit | 612c72d85df391a87d0eb70d8c80082c77fe4e69 (patch) | |
| tree | 0987a7ffce7411a7304e895feb0b112de9b1ebd9 /Buildscr | |
| parent | 18e0f32b292316a4db3bb0bde1570a73ee60b0bd (diff) | |
| download | halibut-612c72d85df391a87d0eb70d8c80082c77fe4e69.zip halibut-612c72d85df391a87d0eb70d8c80082c77fe4e69.tar.gz halibut-612c72d85df391a87d0eb70d8c80082c77fe4e69.tar.bz2 halibut-612c72d85df391a87d0eb70d8c80082c77fe4e69.tar.xz | |
Permit tables of contents in HTML single-file mode.
Patch due to J. Lewis Muir, who points out that the HTML backend's
current policy of _always_ disabling the TOC in single-file mode is
excessively harsh: in a long or formal enough document, you might
still want a TOC to make navigating around within the file easier,
even if it's not necessary to use it to get between multiple files.
So this change removes the unconditional prohibition against TOCs in
single-file documents, but they're still disabled by default, because
a single file counts as a leaf file and the existing default settings
disable TOCs in leaf files anyway. So if you do want a TOC in a single
file, you can reconfigure 'html-leaf-contains-contents' to true.
[originally from svn r10212]
Diffstat (limited to 'Buildscr')
0 files changed, 0 insertions, 0 deletions