mirror of https://github.com/folke/lazy.nvim.git
fix: build docs in correct order
This commit is contained in:
parent
170a4ea8d0
commit
d578056ec9
|
@ -42,17 +42,19 @@ sidebar_position: 5
|
|||
pkg = {
|
||||
enabled = true,
|
||||
cache = vim.fn.stdpath("state") .. "/lazy/pkg-cache.lua",
|
||||
versions = true, -- Honor versions in pkg sources
|
||||
-- the first package source that is found for a plugin will be used.
|
||||
sources = {
|
||||
"lazy",
|
||||
"rockspec",
|
||||
"rockspec", -- will only be used when rocks.enabled is true
|
||||
"packspec",
|
||||
},
|
||||
},
|
||||
rocks = {
|
||||
enabled = true,
|
||||
root = vim.fn.stdpath("data") .. "/lazy-rocks",
|
||||
server = "https://nvim-neorocks.github.io/rocks-binaries/",
|
||||
-- use hererocks to install luarocks.
|
||||
hererocks = vim.fn.executable("luarocks") == 0,
|
||||
},
|
||||
dev = {
|
||||
---@type string | fun(plugin: LazyPlugin): string directory where you store your local plugin projects
|
||||
|
|
|
@ -161,6 +161,8 @@ function M.readme(readme, mds, transform)
|
|||
end
|
||||
|
||||
function M.update()
|
||||
M.themes()
|
||||
M.docs()
|
||||
M.readme("README.vim.md")
|
||||
M.readme("README.md", {
|
||||
"README.header.md",
|
||||
|
@ -169,8 +171,6 @@ function M.update()
|
|||
}, function(s)
|
||||
return s:gsub("\n# 🚀 Getting Started", "\n")
|
||||
end)
|
||||
M.themes()
|
||||
M.docs()
|
||||
vim.cmd.checktime()
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue