From dcf511d53fae9675c6fde4241d94b2daaa5e0cd5 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sun, 6 Oct 2024 03:47:24 -0700 Subject: ci: rename README_template.md #3357 The name `README_template.md` is confusing, because it is not related to the README (that changed long ago). --- scripts/README_template.md | 14 -------------- scripts/docgen.lua | 2 +- scripts/docs_template.md | 14 ++++++++++++++ 3 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 scripts/README_template.md create mode 100644 scripts/docs_template.md (limited to 'scripts') diff --git a/scripts/README_template.md b/scripts/README_template.md deleted file mode 100644 index cb25a45c..00000000 --- a/scripts/README_template.md +++ /dev/null @@ -1,14 +0,0 @@ -# LSP configs - - -LSP configurations provided by nvim-lspconfig are listed below. This -documentation is autogenerated from the Lua files. You can view this file in -Nvim by running `:help lspconfig-all`. - -{{implemented_servers_list}} - -{{lsp_server_details}} - - diff --git a/scripts/docgen.lua b/scripts/docgen.lua index 79beebe0..e81f0aca 100644 --- a/scripts/docgen.lua +++ b/scripts/docgen.lua @@ -278,7 +278,7 @@ local function generate_readme(template_file, params) end require_all_configs() -generate_readme('scripts/README_template.md', { +generate_readme('scripts/docs_template.md', { implemented_servers_list = make_implemented_servers_list(), lsp_server_details = make_lsp_sections(), }) diff --git a/scripts/docs_template.md b/scripts/docs_template.md new file mode 100644 index 00000000..cb25a45c --- /dev/null +++ b/scripts/docs_template.md @@ -0,0 +1,14 @@ +# LSP configs + + +LSP configurations provided by nvim-lspconfig are listed below. This +documentation is autogenerated from the Lua files. You can view this file in +Nvim by running `:help lspconfig-all`. + +{{implemented_servers_list}} + +{{lsp_server_details}} + + -- cgit v1.2.3-70-g09d2