Commit Graph

391 Commits

Author SHA1 Message Date
steve donovan 7da46268dc 'pale' template added; interpretation of --style and --template extended 2013-08-25 19:38:01 +02:00
steve donovan ad909d683b Can prettify C files as well as Lua with built-in prettifier 2013-08-25 14:29:30 +02:00
steve donovan 89cb20d752 doc updates 2013-08-25 14:28:57 +02:00
steve donovan 149ded81fc composite return types experiment 2013-08-25 10:47:45 +02:00
steve donovan 45cb21bcc1 try harder with -m to resolve methods 2013-08-24 15:39:41 +02:00
steve donovan 3c72ea112e ldoc.alias can specify a function which must return tag, value, modifiers like Item:check_tag. The alias error works with return groups 2013-08-24 15:19:45 +02:00
steve donovan 9af4bae066 return groups; experimental 'error' tag 2013-08-24 13:21:41 +02:00
Steve Donovan 1bf3461917 doc updates 2013-08-23 15:59:35 +02:00
Steve Donovan 70eaf2be6f bumped to 1.4.0; doc updates and formatting 2013-08-23 13:50:34 +02:00
Steve Donovan 7bb95e5e7d issue #78 default parm value now in documentation 2013-08-22 10:12:04 +02:00
Steve Donovan 3c72e9e4d1 fix issue #80, backticks expand in copyright and other 'info' tags. format='backtick' (-f backtick) is like format='plain' but with implicit 'backtick_references=true'. -X is short for 'not_luadoc' 2013-08-22 09:43:26 +02:00
Steve Donovan 5e18d2ad4c check builtin references. Builtin files are now all requireable (without module) 2013-08-22 09:15:16 +02:00
Steve Donovan a162c4b9e9 a list of comma-separated items can appear after a see tag; fixed problem with references to Lua global functions from last commit 2013-08-21 15:52:53 +02:00
Steve Donovan d9d749fa37 fix issue #79: will not allow a module as a type. Plus, add reference lookup for lfs and lpeg 2013-08-21 14:52:09 +02:00
Steve Donovan dfdac3f977 fix #84; also no_space_before_args=false to stop ldoc putting space between name and arglist of functions 2013-08-20 15:26:49 +02:00
Steve Donovan 5699d002ef issue #77: 'See also' in template 2013-08-20 14:59:13 +02:00
Steve Donovan 80a109e022 issue #66: better error message for non-luadoc behaviour; now controlling backticks in the docs better 2013-08-20 14:57:41 +02:00
Steve Donovan 52e9b6f32c new classmod tag for defining modules that just export one class (experimental) 2013-08-07 15:19:46 +02:00
Steve Donovan 3e78c4704b partial file list sorting refactor was borked 2013-08-07 13:33:38 +02:00
Steve Donovan 5dd69b90bf support for Moonscript fat vs thin arrows; tools.get_parameters also returns last token found; lang.method_call generalization 2013-08-07 11:05:55 +02:00
Steve Donovan b87180996d Moonscript: support for modules using with statement; optionally ignore colon as part of an identifier 2013-08-07 09:53:39 +02:00
steve donovan 94dc198f4b support for generating Markdown; basic support for Moonscript 2013-08-05 19:27:42 +02:00
Steve Donovan adcd9c5ede better soln for issue #73: partial sorting for all processed files 2013-08-02 14:18:41 +02:00
Steve Donovan 7fe6a95544 a partial solution for issue #73: ldoc.module_file to pick master modules when present 2013-08-01 12:14:57 +02:00
Steve Donovan 8a071fb517 issue #64: use 'sort=true' in config.ld to sort items in sections 2013-07-31 14:25:33 +02:00
Steve Donovan eb00a499b2 finally fixed issue #32 (sorry Eric). Can now dump non-modules like scripts 2013-07-23 10:40:07 +02:00
Steve Donovan 16981eeb3e Merge branch 'master' of github.com:stevedonovan/LDoc 2013-07-22 13:30:04 +02:00
steve donovan 35a391d7d7 set tag in module can be used to set rendering properties etc of an individual module, e.g 'set no_return_or_parms=true' 2013-07-18 10:12:25 +02:00
steve donovan 320dfed2e3 no longer any need for setfenv in markdown.lua 2013-06-14 15:19:51 +02:00
steve donovan 624cf7d742 issue #70 crash 2013-06-06 18:59:11 +02:00
Steve J Donovan d219d89449 Merge pull request #69 from gns-ank/patch-1
Fix markdown.lua to work with LUA 5.2
2013-06-02 23:40:59 -07:00
Ignas Anikevicius 7e766f9aaa Fix markdown.lua to work with LUA 5.2
The `setfenv` variable is unavailable in LUA 5.2, so call it conditionally.
2013-06-02 17:25:20 +02:00
steve donovan 4208b21234 issue #65; see references no longer have multiple option, but can now allow custom formats 2013-05-27 14:47:26 +02:00
steve donovan 2bd2b23d7d topics are added with nil description 2013-05-27 10:47:55 +02:00
steve donovan 04c4f45a61 added new rockspec; updated docs; nil-description error triggered by ldoc docs 2013-05-16 11:24:05 +02:00
steve donovan ff2e5ccaed Default output directory is now 'doc'; annotations were borked and not_luadoc check could blow up 2013-05-15 15:30:47 +02:00
steve donovan cf7b8e3a9a fixes issue #62: keep LuaDoc compatibility, unless not_luadoc is explicitly set 2013-05-09 13:28:39 +02:00
steve donovan ac5c5f2c65 'plain=true' when format is set but you do not want doc comments treated specially. Backticks are now expanded in usage blocks 2013-05-09 12:52:15 +02:00
Steve J Donovan 2fb5d81ab5 Merge pull request #63 from Tieske/master
added rockspec
2013-05-06 06:36:28 -07:00
Thijs Schreijer f782919f58 replaced scm rockspec with regular rockspec 2013-05-06 15:34:39 +02:00
steve donovan 5e795c7a1d added scm rockspec 2013-05-06 14:41:49 +02:00
steve donovan 123099ca07 if we find a shared master module, close its section before using it. Appears to fix issue #56 2013-05-06 11:52:36 +02:00
steve donovan a3cb09c098 Issue #61 sorted - not using Tags.add consistently 2013-05-06 11:38:20 +02:00
steve donovan 5beb1f048a Merge branch 'master' of github.com:stevedonovan/LDoc 2013-04-17 12:08:44 +02:00
steve donovan 167a4595a5 built-in markdown crack down on locals; still very slow 2013-04-17 12:08:11 +02:00
steve donovan 68cd576bf4 module deduction can blow up; UTF BOM ignored 2013-04-16 10:11:05 +02:00
steve donovan 97af82c53d bumped to 1.3.11 2013-04-13 16:15:54 +02:00
steve donovan 42429e694c file={'.'} in config.d caused module name failure; docs->doc 2013-04-13 15:44:27 +02:00
steve donovan 6d22818ec9 allow -c to be used with explicit file 2013-04-11 15:37:01 +02:00
steve donovan 0ee96935a3 charset functionality was borked in general case 2013-04-03 12:20:54 +02:00