diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-08-25 15:24:47 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-08-25 15:25:49 +0200 |
commit | ff18d3b82737cff850e8576d67025283d61e8cb7 (patch) | |
tree | 1949f08b3f53eefb34ab7185d3aa28a15a1740c9 | |
parent | c0157e8fe0b9b25d9004b3f10a0ef5d33e4ff027 (diff) | |
download | rneovim-ff18d3b82737cff850e8576d67025283d61e8cb7.tar.gz rneovim-ff18d3b82737cff850e8576d67025283d61e8cb7.tar.bz2 rneovim-ff18d3b82737cff850e8576d67025283d61e8cb7.zip |
build/doc: generate vimindex.html
This note in runtime/doc/Makefile explains the special-case:
index.html is the starting point for HTML, but for the help files it
is help.txt. Therefore use vimindex.html for index.txt.
fix #8907
-rw-r--r-- | runtime/doc/Makefile | 2 | ||||
-rw-r--r-- | runtime/doc/makehtml.awk | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/Makefile b/runtime/doc/Makefile index dabbcd08d9..18d32c0820 100644 --- a/runtime/doc/Makefile +++ b/runtime/doc/Makefile @@ -13,7 +13,7 @@ HTMLS = $(DOCS:.txt=.html) .SUFFIXES: .c .o .txt .html # Awk version of .txt to .html conversion. -html: noerrors $(HTMLS) +html: noerrors vimindex.html $(HTMLS) @if test -f errors.log; then cat errors.log; fi noerrors: diff --git a/runtime/doc/makehtml.awk b/runtime/doc/makehtml.awk index 216bb5fac1..6e93c01c54 100644 --- a/runtime/doc/makehtml.awk +++ b/runtime/doc/makehtml.awk @@ -135,11 +135,11 @@ NR == 1 { nf=split(FILENAME,f,".") # common case - Latin1 print "<META HTTP-EQUIV=\"Content-type\" content=\"text/html; charset=ISO-8859-1\">"; } - print "<TITLE>Vim documentation: " f[1] "</TITLE>"; + print "<TITLE>Nvim documentation: " f[1] "</TITLE>"; print "</HEAD>"; print "<BODY BGCOLOR=\"#ffffff\">"; - print "<H1>Vim documentation: " f[1] "</H1>"; + print "<H1>Nvim documentation: " f[1] "</H1>"; print "<A NAME=\"top\"></A>"; if ( FILENAME != "help.txt" ) { print "<A HREF=\"index.html\">main help file</A>\n"; |