Skip to content

Commit c87e999

Browse files
committed
gendocs: added new system libs
1 parent 64e79b4 commit c87e999

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@
515515
"id": "gendocs",
516516
"mod_version": "3",
517517
"path": "plugins/gendocs.lua",
518-
"version": "0.2.2"
518+
"version": "0.2.3"
519519
},
520520
{
521521
"description": "Opens a preview of the current markdown file in a browser window *([screenshot](https://user-images.githubusercontent.com/3920290/82754898-f7394600-9dc7-11ea-8278-2305363ed372.png))* Note: the page content is generated by sending the markdown file to Github's markdown rendering [API](https://docs.github.com/en/rest/markdown?apiVersion=2022-11-28). Requires a [GitHub token](https://docs.github.com/en/rest/markdown/markdown?apiVersion=2022-11-28#render-a-markdown-document-in-raw-mode) being provided",

plugins/gendocs.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,20 +696,21 @@ cli.register({
696696
core_docs_path = DATADIR
697697
system_libs = {
698698
"bit",
699-
"dirmonitor",
699+
"canvas",
700700
"diff",
701+
"dirmonitor",
701702
"encoding",
702703
"globals",
703704
"process",
704705
"regex",
705706
"renderer",
706707
"renwindow",
708+
"repl",
707709
"shmem",
708710
"string",
709711
"system",
710712
"thread",
711713
"utf8extra",
712-
"repl",
713714
}
714715
-- we need to parse C Lua libs first to prevent issues
715716
-- so we copy them to output, parse and then delete

0 commit comments

Comments
 (0)