From 3913ebbfcde7d327dd6f1d85e30ce114a9e8193e Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Tue, 30 May 2023 17:32:38 -0700 Subject: [PATCH] docs(html): algolia docsearch #23839 Need to manually include this in the generated docs html because it doesn't use the website's (jekyll) layout template. Maintenance notes: https://github.com/neovim/neovim.github.io/#maintenance Related: https://github.com/neovim/neovim.github.io/commit/ce9aef12eb1c98135965e3a9c5c792bf9e506a76 --- scripts/gen_help_html.lua | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/scripts/gen_help_html.lua b/scripts/gen_help_html.lua index 1bddd3aa8b..96289c45ec 100644 --- a/scripts/gen_help_html.lua +++ b/scripts/gen_help_html.lua @@ -696,6 +696,11 @@ local function gen_one(fname, to_fname, old, commit) + + + + + %s - Neovim docs @@ -766,12 +771,13 @@ local function gen_one(fname, to_fname, old, commit) main = ([[
@@ -825,6 +831,18 @@ local function gen_one(fname, to_fname, old, commit) parse_errors: %d %s | noise_lines: %d
+ + + + + ]]):format( os.date('%Y-%m-%d %H:%M'), commit, commit:sub(1, 7), #stats.parse_errors, bug_link,