From 53364ddc2e09362cb17432abf4fb598557554a9f Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 30 Oct 2021 11:42:13 +0800 Subject: + LDoc --- Data/Libraries/LDoc/tests/styles/one.lua | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Data/Libraries/LDoc/tests/styles/one.lua (limited to 'Data/Libraries/LDoc/tests/styles/one.lua') diff --git a/Data/Libraries/LDoc/tests/styles/one.lua b/Data/Libraries/LDoc/tests/styles/one.lua new file mode 100644 index 0000000..30e3145 --- /dev/null +++ b/Data/Libraries/LDoc/tests/styles/one.lua @@ -0,0 +1,23 @@ +--[[ +A non-doc comment +multi-line +probably containing license information! +Doesn't use module(), but module name is inferred from file name. +If you have initial licence comments that look like doc comments, +then set `boilerplate=true` +]] +------------ +-- Test module, +-- Actual blurb here! +---- + +local one = {} + +--- answer to everything. +function one.answer () + return 42 +end + +return one + + -- cgit v1.1-26-g67d0