diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-03-20 21:55:45 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-03-20 21:55:45 +0000 |
commit | 9b2200acd6bd572eea00ea89eeb3b2c0764c8942 (patch) | |
tree | 2b51ab147338ddbae29d5586eb06ed85dd58ea00 /runtime/doc/makehtml.awk | |
parent | 0126585dbb2a044ec2d72166dbc71cec33517194 (diff) | |
download | vim-git-9b2200acd6bd572eea00ea89eeb3b2c0764c8942.tar.gz |
updated for version 7.0230
Diffstat (limited to 'runtime/doc/makehtml.awk')
-rw-r--r-- | runtime/doc/makehtml.awk | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/runtime/doc/makehtml.awk b/runtime/doc/makehtml.awk index 34a55445b..5e4006939 100644 --- a/runtime/doc/makehtml.awk +++ b/runtime/doc/makehtml.awk @@ -135,7 +135,7 @@ NR == 1 { nf=split(FILENAME,f,".") print "<H1>Vim documentation: " f[1] "</H1>"; print "<A NAME=\"top\"></A>"; if ( FILENAME != "help.txt" ) { - print "<A HREF=\"help.html\">main help file</A>\n"; + print "<A HREF=\"index.html\">main help file</A>\n"; } print "<HR>"; print "<PRE>"; @@ -244,7 +244,15 @@ npipe > 2 && nstar < 3 { find_tag1(); } else { + if ( f[1] == "index" ) { + printf "|<A HREF=\"vimindex.html\">" p[i] "</A>|"; + } else { + if ( f[1] == "help" ) { + printf "|<A HREF=\"index.html\">" p[i] "</A>|"; + } else { printf "|<A HREF=\"" f[1] ".html\">" p[i] "</A>|"; + } + } } } } @@ -373,13 +381,12 @@ END { # # as main we keep index.txt (by default) -# other candidate, help.txt # function topback () { if ( FILENAME != "tags" ) { if ( FILENAME != "help.txt" ) { printf("<A HREF=\"#top\">top</A> - "); - printf("<A HREF=\"help.html\">main help file</A>\n"); + printf("<A HREF=\"index.html\">main help file</A>\n"); } else { printf("<A HREF=\"#top\">top</A>\n"); } |