Skip to content
LXZ_svn_sync edited this page Oct 30, 2019 · 2 revisions

command: /docgen

quick ref:

/docgen [filename]

description:

generate NPL documentation for the given file. 
@param filename: lua file name to parse. if filename matches "*.docgen.txt", we will parse all files in it. 
	if nil, it will default to ./Documentation/paracraft.docgen.txt
e.g.
/docgen script/apps/Aries/Creator/Game/block_engine.lua		:parse only this given file
/docgen     :rebuild all files in paracraft.docgen.txt
/docgen -codeblock    :generate code block docs
Clone this wiki locally