diff options
| author | Yochem van Rosmalen <git@yochem.nl> | 2026-03-06 19:20:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-06 13:20:40 -0500 |
| commit | ac6cf5b03ba043aa9ca3b8283f78e426f862e0b0 (patch) | |
| tree | 077df943ac0234f802c7fb8e91ca491e07afea01 /src/gen/gen_help_html.lua | |
| parent | fde1c07891e0b964346899832b5c76f81c4305cd (diff) | |
| download | rneovim-ac6cf5b03ba043aa9ca3b8283f78e426f862e0b0.tar.gz rneovim-ac6cf5b03ba043aa9ca3b8283f78e426f862e0b0.tar.bz2 rneovim-ac6cf5b03ba043aa9ca3b8283f78e426f862e0b0.zip | |
fix(gen): alias /doc/user/helptag.html to /doc/user/helptag/ #38156
Problem:
helptag.html is used to search for the online help documentation of a
specified tag. The previous URL was `/doc/user/helptag.html` but that
switched to `/doc/user/helptag/` in
https://github.com/neovim/neovim.github.io/pull/437. The alias of the
.html page was added to all other doc pages but forgotten for the
helptag.html page
Solution:
Add the alias to the helptag.html page too
Diffstat (limited to 'src/gen/gen_help_html.lua')
| -rw-r--r-- | src/gen/gen_help_html.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gen/gen_help_html.lua b/src/gen/gen_help_html.lua index e858a94cb2..fec1b9340c 100644 --- a/src/gen/gen_help_html.lua +++ b/src/gen/gen_help_html.lua @@ -956,7 +956,8 @@ end local function gen_helptag_html(fname) local frontmatter = vim.json.encode({ title = 'Helptag redirect', - layout = 'helptag', -- Hugo-specific + layout = 'helptag', + aliases = { vim.fs.basename(fname) }, }, { indent = ' ', sort_keys = true }) tofile(fname, frontmatter) end |