From 8e15b770448097df5668a61c5883700d32a5cc8a Mon Sep 17 00:00:00 2001 From: Smirnov Oleksandr Date: Wed, 28 Feb 2024 15:22:48 +0200 Subject: [PATCH] this could be working but i still cant figure out how to run it --- scripts/doc_gen.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 scripts/doc_gen.lua diff --git a/scripts/doc_gen.lua b/scripts/doc_gen.lua new file mode 100644 index 0000000..2783c06 --- /dev/null +++ b/scripts/doc_gen.lua @@ -0,0 +1,12 @@ +---@diagnostic disable: undefined-global +--# selene: allow(undefined_variable) + +local okay, minidoc = pcall(require, "mini.doc") +if not okay then + error "mini.doc not found, please install it. https://github.com/echasnovski/mini.doc" + return +end + +minidoc.setup() + +MiniDoc.generate({ "lua/gopher" }, "doc/gopher.nvim.txt")