From c0a52372f1d3ff06d5ad63e63cb7913ff992ce5f Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@telfort.nl>
Date: Tue, 27 Jun 2017 19:42:14 +0200
Subject: [PATCH] docs: drop the cluttering Info-style links from the HTML
 manual

Especially: get rid of the "Up: (dir)" link that points nowhere.

Also, add a horizontal line before the final Table of Contents.
---
 doc/Makefile.am | 2 +-
 doc/nano.texi   | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 13227a70..08cccac9 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -28,6 +28,6 @@ info_TEXINFOS = nano.texi
 BUILT_SOURCES += nano.html
 dist_html_DATA += nano.html
 
-AM_MAKEINFOHTMLFLAGS = --no-split
+AM_MAKEINFOHTMLFLAGS = --no-split -c HEADERS=0
 
 EXTRA_DIST = $(BUILT_SOURCES) $(info_TEXINFOS)
diff --git a/doc/nano.texi b/doc/nano.texi
index 31c9c66f..b0f5db56 100644
--- a/doc/nano.texi
+++ b/doc/nano.texi
@@ -1592,5 +1592,10 @@ curses libraries.
 
 @end table
 
+@html
+<hr>
+@end html
+
 @contents
+
 @bye
-- 
GitLab