aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_help_html.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2024-12-05 07:18:27 -0800
committerGitHub <noreply@github.com>2024-12-05 07:18:27 -0800
commit12901447cb21c7d6628c7c7e60e1bda2e5c0b793 (patch)
tree4a4b65bd0c20fcdaecb1e349306de63fe4130be5 /scripts/gen_help_html.lua
parent845e5634215a893bee44effc40093e0e315a012a (diff)
downloadrneovim-12901447cb21c7d6628c7c7e60e1bda2e5c0b793.tar.gz
rneovim-12901447cb21c7d6628c7c7e60e1bda2e5c0b793.tar.bz2
rneovim-12901447cb21c7d6628c7c7e60e1bda2e5c0b793.zip
docs: graduate intro.txt to "flow layout" #31462
- move credits and backers to credits.txt
Diffstat (limited to 'scripts/gen_help_html.lua')
-rw-r--r--scripts/gen_help_html.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/gen_help_html.lua b/scripts/gen_help_html.lua
index fe74d80e5e..53a65fd65f 100644
--- a/scripts/gen_help_html.lua
+++ b/scripts/gen_help_html.lua
@@ -48,7 +48,7 @@ local spell_dict = {
--- specify the list of keywords to ignore (i.e. allow), or true to disable spell check completely.
--- @type table<string, true|string[]>
local spell_ignore_files = {
- ['backers.txt'] = true,
+ ['credits.txt'] = { 'Neovim' },
['news.txt'] = { 'tree-sitter' }, -- in news, may refer to the upstream "tree-sitter" library
['news-0.10.txt'] = { 'tree-sitter' },
}
@@ -71,6 +71,7 @@ local new_layout = {
['editorconfig.txt'] = true,
['faq.txt'] = true,
['gui.txt'] = true,
+ ['intro.txt'] = true,
['lua.txt'] = true,
['luaref.txt'] = true,
['news.txt'] = true,
@@ -85,6 +86,7 @@ local new_layout = {
-- Map of new:old pages, to redirect renamed pages.
local redirects = {
+ ['credits'] = 'backers',
['tui'] = 'term',
['terminal'] = 'nvim_terminal_emulator',
}
@@ -117,7 +119,7 @@ local exclude_invalid_urls = {
-- Deprecated, brain-damaged files that I don't care about.
local ignore_errors = {
['pi_netrw.txt'] = true,
- ['backers.txt'] = true,
+ ['credits.txt'] = true,
}
local function tofile(fname, text)