mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-26 06:39:43 +03:00
docs: avoid large Table of Contents at top of HTML version of manual
Texinfo-6.8 (that was used to build the docs of nano-5.9) changed the way the @contents command is processed for HTML output, with as result a detailed table of contents at the start of the HTML page. That is ugly and too much detail. To avoid that, produce a table of contents only when generating output meant for printing. This fixes https://savannah.gnu.org/bugs/?61344. Bug existed since version 5.9.
This commit is contained in:
parent
3a09577e0c
commit
46f76ca8b8
@ -1990,6 +1990,8 @@ as nano's settings file, instead of the default @code{.nanorc}.
|
||||
<hr>
|
||||
@end html
|
||||
|
||||
@iftex
|
||||
@contents
|
||||
@end iftex
|
||||
|
||||
@bye
|
||||
|
Loading…
Reference in New Issue
Block a user