57 | 57 |
-X,--not_luadoc break LuaDoc compatibility. Descriptions may continue after tags.
|
58 | 58 |
-D,--define (default none) set a flag to be used in config.ld
|
59 | 59 |
-C,--colon use colon style
|
|
60 |
-N,--no_args_infer don't infer arguments from source
|
60 | 61 |
-B,--boilerplate ignore first comment in source files
|
61 | 62 |
-M,--merge allow module merging
|
62 | 63 |
-S,--simple no return or params, no summary
|
|
67 | 68 |
--tags (default none) show all references to given tags, comma-separated
|
68 | 69 |
--fatalwarnings non-zero exit status on any warning
|
69 | 70 |
--testing reproducible build; no date or version on output
|
70 | |
|
|
71 |
|
71 | 72 |
<file> (string) source file or directory containing source
|
72 | 73 |
|
73 | 74 |
`ldoc .` reads options from an `config.ld` file in same directory;
|
|
238 | 239 |
'unqualified', 'custom_display_name_handler', 'kind_names', 'custom_references',
|
239 | 240 |
'dont_escape_underscore','global_lookup','prettify_files','convert_opt', 'user_keywords',
|
240 | 241 |
'postprocess_html',
|
241 | |
'custom_css','version'
|
|
242 |
'custom_css','version',
|
|
243 |
'no_args_infer'
|
242 | 244 |
}
|
243 | 245 |
ldoc_contents = tablex.makeset(ldoc_contents)
|
244 | 246 |
|
|
423 | 425 |
|
424 | 426 |
setup_package_base()
|
425 | 427 |
|
|
428 |
override 'no_args_infer'
|
426 | 429 |
override 'colon'
|
427 | 430 |
override 'merge'
|
428 | 431 |
override 'not_luadoc'
|
|
809 | 812 |
local source_date_epoch = os.getenv("SOURCE_DATE_EPOCH")
|
810 | 813 |
if args.testing then
|
811 | 814 |
ldoc.updatetime = "2015-01-01 12:00:00"
|
812 | |
ldoc.version = 'TESTING'
|
|
815 |
ldoc.version = 'TESTING'
|
813 | 816 |
elseif source_date_epoch == nil then
|
814 | 817 |
if args.date == 'system' then
|
815 | 818 |
ldoc.updatetime = os.date("%Y-%m-%d %H:%M:%S")
|