Commit Graph

313 Commits

Author SHA1 Message Date
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
steve donovan 97538e33b9 bump to 1.3.10 2013-03-28 13:36:46 +02:00
steve donovan 619d8e1710 -O for one col layout, -S for simple (no params,ret or summary); one col switches off function list. Bumped to 1.3.8 2013-03-28 13:28:05 +02:00
steve donovan 897061ac17 squashed trailing space problem with section titles; allowing numbers in links 2013-03-28 13:06:42 +02:00
steve donovan 158aa9ff14 can override utf-8 with either 'charset=<cs>' or per-module with @charset <cs> 2013-03-27 15:50:37 +02:00
steve donovan d176dedcfc bump version to 1.3.8 in usage; ignore empty docstrings (Dirk bug) 2013-03-26 11:53:42 +02:00
steve donovan 0706681e72 using parameters which were List method names caused chaos 2013-03-25 10:12:20 +02:00
steve donovan a7b01abd03 module at-references now working! No-contents warning fixed 2013-03-23 17:51:55 +02:00
steve donovan a8ea31b01d fixed opt bug and weird issue when section title clashes with standard section names 2013-03-21 19:52:53 +02:00
steve donovan 741cba8ff2 merging trailing [opt] as [optchain]s. Trying to solve 'self' references in modules 2013-03-20 14:41:54 +02:00
steve donovan 65723a9dc4 issue #57: [opt=default] support - see tests/styles/four.lua 2013-03-19 15:00:57 +02:00
steve donovan 4bc48dafc3 modules returning a single function are supported, see tests/styles/func.lua. Parameters may have subfields, see tests/styles/subparams.lua 2013-03-18 15:51:28 +02:00
steve donovan 717eac46e5 tables inside 'classes' are implicitly 'static'; respect blank lines even if not using markdown; fall back to bundled markdown.lua if not found elsewhere 2013-03-08 13:40:59 +02:00
steve donovan dee7cd200a fixed issue #47; flag-style tags like @local were blowing up with description collection 2013-03-07 13:49:39 +02:00
steve donovan d7ee2d806f no longer an error for @function to have modifiers (#45), although we're not yet passing it through. New @static tag for class methods 2013-03-07 13:39:41 +02:00
Steve J Donovan 7f1d50b778 Merge pull request #39 from thmo/master
Please support DESTDIR
2013-03-07 03:12:04 -08:00
steve donovan 496b534ce1 @type summary no longer dropped (#49); @type can be used with @usage (#52); CSS tweaks for prettification; nasty '<pre/>' typo squashed 2013-03-07 13:09:48 +02:00
steve donovan 8856f09629 pretty field can be set to 'lxsh'; github-flavoured Markdown fenced code blocks; if lxsh, can also highlight c, sh and bib 2013-03-06 17:07:28 +02:00
steve donovan 987c5fbc9c examples of syntax highlighting in function @usage blocks; 'static' member functions 2013-03-05 17:57:55 +02:00
steve donovan 95f293e67e ordinary non 'method' functions of a 'class' must be respected, and not prefixed with class: 2013-03-05 17:56:30 +02:00
steve donovan 357ee3978d don't strip multiline tag values. Allows multiline @usage blocks to work nicely 2013-03-05 17:00:33 +02:00
steve donovan 7ceb7cc00b @usage code blocks are prettified 2013-03-05 16:21:54 +02:00
Steve J Donovan 9f52eacb05 Merge pull request #48 from pronebird/master
Allow parsing of Objective-C++ sources
2013-03-04 23:42:09 -08:00
Andrej Mihajlov afedf3fe4b Add Objective-C++ extension to supported file types 2013-03-04 14:34:34 +01:00
steve donovan 1b67b1cd6f wrap=true in config.ld will switch off nowrap in name column of function tables 2013-02-13 14:44:33 +02:00
steve donovan 394ba636bc link fix in docs and anti-global jihad 2013-02-13 14:15:29 +02:00
Thomas Moschny 940e33a8a9 Support DESTDIR for the main makefile's install targets. 2013-01-30 17:10:57 +01:00
steve donovan 55bbeed4f4 added module merging - see tests/merge directory (--merge flag) 2013-01-28 11:23:31 +02:00
steve donovan 10b5819667 new_type() can now specify subfield; Colon mode must be explicitly switched on with -C,--colon or in config.ld 2013-01-25 09:09:40 +02:00