Skip to content

Commit 94d4c17

Browse files
committed
chore: generate stable wiki file directly
1 parent afcd1cc commit 94d4c17

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@ release:
1515
@test $${RELEASE_VERSION?Please set environment variable RELEASE_VERSION}
1616
echo "${RELEASE_VERSION}" > docgen/shared/stable.txt
1717
nvim -l docgen/gen_doc.lua
18-
mv docgen/wiki/Documentation-unstable.md "docgen/wiki/Documentation-${RELEASE_VERSION}.md"

docgen/gen_doc.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ end
457457
local function gen_docs()
458458
gen_vim_doc()
459459
gen_markdown("docgen/templates/README.md.in", "README.md")
460-
gen_markdown("docgen/templates/documentation.md.in", "docgen/wiki/Documentation-unstable.md")
460+
gen_markdown("docgen/templates/documentation.md.in", string.format("docgen/wiki/Documentation-%s.md", version))
461461
end
462462
463463
gen_docs()

0 commit comments

Comments
 (0)