Commit Graph

  • 226d3d372c -c option may be given relative or absolute path to configuration file; file references in this file will be relative to its position steve donovan 2011-08-21 19:01:31 +0200
  • e680b44435 tweak to allowing space before :; do not strip linefeed after end of summary. steve donovan 2011-08-21 18:50:58 +0200
  • 1befcc505c problem with parsing explicit module() fixed steve donovan 2011-08-21 17:29:56 +0200
  • 80e2e1e112 lorenzo's suggestion; may optionally provide text for the reference link using a colon steve donovan 2011-08-21 17:25:28 +0200
  • 87784490fc track line numbers in full text mode by counting linefeeds in spaces and comments steve donovan 2011-08-21 17:23:58 +0200
  • e265370400 lexer rewritten to return an object and not a coroutine. Methods like getline() and lineno() now work much better; sorts out problems encountered with Lua block comments steve donovan 2011-08-14 11:54:40 +0200
  • 779ce4bb51 example of using --package ... to generate luadoc documentation correctly steve donovan 2011-08-14 11:50:36 +0200
  • f5504a345a quote strings in long comment blocks. This continues an already nasty hack which we need to retire pronto steve donovan 2011-07-30 11:07:26 +0200
  • 9b373e36aa need explicit 'extended_markdown' in config to do pre-processing. This feature is currently not working 100% steve donovan 2011-07-30 11:06:42 +0200
  • 7fa4d6d9eb if the doc item has an explicit name, don't try to deduce item further steve donovan 2011-07-30 11:04:54 +0200
  • 75a6cf14da line endings sorted out steve donovan 2011-07-30 11:01:42 +0200
  • 85728c1947 some generalizations with extended code parsing steve donovan 2011-07-29 15:55:28 +0200
  • bedb89a307 initial blank line makes lexer give up steve donovan 2011-07-29 15:54:23 +0200
  • 1dc062dafb extending code inferrence patterns steve donovan 2011-07-29 15:53:45 +0200
  • b1a856d9e7 doc updates steve donovan 2011-07-29 15:52:31 +0200
  • eb15776a9b throw error if unrecognized fields used in config.ld; examples field may now be a string; needed to normalize paths on Windows steve donovan 2011-07-29 15:52:16 +0200
  • 5e77edc33a example now uses @{refs} steve donovan 2011-07-18 12:08:24 +0200
  • 88dbcd0d85 module(...) resolution wuz broke; parser needed args.package steve donovan 2011-07-18 12:07:40 +0200
  • 0b181d3b66 ldoc.output was not set before the index steve donovan 2011-07-14 15:27:16 +0200
  • 742370d3ff restored nowrap to tables, until we can control this better steve donovan 2011-07-14 15:26:03 +0200
  • 1735332b96 check_file now copies the file up if it is newer steve donovan 2011-07-14 15:23:55 +0200
  • da13ae5942 handle [=[...]=] comments and strings steve donovan 2011-07-14 15:23:20 +0200
  • a41792c56c better support for one-column style steve donovan 2011-07-12 15:42:58 +0200
  • aae0c9a5d1 great refactoring: now also prettifies code in Markdown documents steve donovan 2011-07-12 14:14:55 +0200
  • 788d8f24bd Topics working with section references; cross-references starting to work steve donovan 2011-07-11 15:40:44 +0200
  • ebc7c4e22f ldoc.files and ldoc.examples can have field steve donovan 2011-07-11 09:59:10 +0200
  • d864e49f47 lexer would hang on an empty file steve donovan 2011-07-11 09:34:18 +0200
  • 2e016bbe65 all output is UTF-8 encoded steve donovan 2011-07-11 09:29:37 +0200
  • 42cb80be25 examples starting to work: factoring looking-up addresses out of template steve donovan 2011-07-10 19:12:35 +0200
  • 7839a791ae code reformat 4 to 3 spaces per indent steve donovan 2011-07-10 19:10:53 +0200
  • 6935affe05 one-column stylesheet by Lorenzo; initial prettification for examples steve donovan 2011-07-08 16:01:05 +0200
  • acaa57c6b6 handling of strings was borked steve donovan 2011-07-08 16:00:21 +0200
  • 684b5f350e provision for looking up class method names; only explicit modules have their names adjusted for package.mod steve donovan 2011-07-08 15:59:56 +0200
  • 7ae455c006 implement --one: refactoring for examples support steve donovan 2011-07-08 15:58:40 +0200
  • daa5780916 provision in template not to show contents steve donovan 2011-07-08 15:58:01 +0200
  • 4d718d3e86 Inline references are now @{ref}, not <ref> steve donovan 2011-07-07 14:29:27 +0200
  • c727f0106c can specify configuration file with --config parameter steve donovan 2011-07-07 14:28:41 +0200
  • cfe818ae35 don't use nowrap on name table cells steve donovan 2011-07-07 14:27:55 +0200
  • e786e6beac generalizations: <ref> can also be used w/out Markdown. Options to switch off various parts of the template steve donovan 2011-07-06 15:24:05 +0200
  • c1c507c2a7 examples updated steve donovan 2011-07-06 11:49:50 +0200
  • efd03cccb3 Markdown preprocess: consistently indented blocks are given paragraph break lines around them. Use ldoc.classic_markdown to switch off steve donovan 2011-07-06 11:49:24 +0200
  • 67c4a795af ldoc.no_summary switches to functions-down-side, no upfront tables; useful for single-module projects steve donovan 2011-07-06 11:47:41 +0200
  • cd0c64475b no top margin for sublist <ul>, <ol> steve donovan 2011-07-06 11:46:38 +0200
  • 8e791b8be6 new md test steve donovan 2011-07-05 20:19:48 +0200
  • 99cfca7643 attempt to tame markdown.lua's need for blank lines around lists; it is not doing nested lists correctly (throwing in <p> inside <li>) steve donovan 2011-07-05 18:53:28 +0200
  • 5e891d8d7c Can now have <<REF>> inside Markdown-flavoured ldoc, which use the same rules for REF as with @see references. References within a single module document must be to the name of the document from args.output, not the module name. steve donovan 2011-07-05 18:19:49 +0200
  • e21db67984 factoring out custom markup processing steve donovan 2011-07-05 16:30:49 +0200
  • 2810c4804a conditional fix for Penlight 0.9.5; uses loadin() if available steve donovan 2011-07-05 13:33:27 +0200
  • 3169b6482f the new name for index (args.output) will be used for index refernces as well steve donovan 2011-07-03 18:22:45 +0200
  • fb98cc767d (1) pattern for @see references did not include underscore (2) hack for grabbing block comment foiled by '--]]' steve donovan 2011-07-03 10:26:24 +0200
  • 2a07ffc7d0 refactored file processing so that args.file can be set from config as a list of files or directories steve donovan 2011-07-03 10:24:14 +0200
  • 20498f3ad7 making better error messages 0.4.2 steve donovan 2011-06-21 18:39:38 +0200
  • 3ca03ea818 lexer could not cope with zero length file steve donovan 2011-06-21 18:30:57 +0200
  • 4fd3c78388 more useful message if template is not found: utils.quit() borked steve donovan 2011-06-21 18:02:21 +0200
  • 7b69e259fd workaround for PL bug on Windows with relative paths: path.normcase is borked steve donovan 2011-06-21 17:47:48 +0200
  • f2fc6f1604 can now use package field in config.ld. tests/luadoc contains a suitable setup for processing LuaDoc itself correctly 0.4.1 steve donovan 2011-06-20 19:04:21 +0200
  • 5387084565 if a function is explicitly tagged as such, then don't try to further parse the function definition in Lua steve donovan 2011-06-20 13:16:05 +0200
  • 1ee35487dc updated version number 0.4 steve donovan 2011-06-19 18:22:48 +0200
  • b7e1270b63 doc fixes steve donovan 2011-06-19 18:13:36 +0200
  • 7fe67090a9 split readme.md; actual 'manual' is docs/doc.md. Another example added steve donovan 2011-06-19 17:58:15 +0200
  • c4ccfd99b5 --filter implemented, plus some clean-up steve donovan 2011-06-19 17:53:05 +0200
  • f55838ede0 keep a table of globals; used for ldoc -m and for resolving @see references to Lua standard library functions and tables steve donovan 2011-06-19 17:52:02 +0200
  • 5c8a9d1e72 nasty typo caused crash on table definitions. (borked commit) steve donovan 2011-06-18 11:45:45 +0200
  • 41cb7417a8 fixed up booboo when dumping out module list in index steve donovan 2011-06-18 11:26:57 +0200
  • 98b0617d34 module name inference (1) 'mod/init.lua' is 'mod' (2) either M or _M are used as default alias values for 'new-style' modules steve donovan 2011-06-16 16:44:46 +0200
  • ad2a350806 separate out language-specific parsing strategies steve donovan 2011-06-16 11:09:24 +0200
  • 7c02820692 initial implementation of -all flag; default is to hide local functions from documentation steve donovan 2011-06-15 16:33:13 +0200
  • c57c364335 @local tag to flag a function explicitly as local steve donovan 2011-06-15 16:12:56 +0200
  • c9e972c989 spoke too soon. Now using _initial_ global state to determine whether to look in Lua global builtin functions steve donovan 2011-06-14 15:04:14 +0200
  • 451528ddce ldoc -m with builtin finally working properly steve donovan 2011-06-14 15:00:36 +0200
  • 2487dea7fa global lookup hack for -m was over-hasty steve donovan 2011-06-14 12:24:20 +0200
  • d4c04661ba ldoc -m now falls back on the Lua documentation in builtin directory; concept of 'doc path' introduced. steve donovan 2011-06-14 11:36:05 +0200
  • 2a7cad7be5 complete moving template and stylesheet to html steve donovan 2011-06-14 10:58:44 +0200
  • e62bec5b81 complete moving source steve donovan 2011-06-14 10:54:51 +0200
  • 19b0be5e71 moved modules to ldoc, templates to html steve donovan 2011-06-14 10:52:10 +0200
  • c04993bf20 small changes to custom styling demo steve donovan 2011-06-13 19:26:28 +0200
  • 4642e358fb a custom styling example steve donovan 2011-06-13 15:43:28 +0200
  • 74b52dacd1 starting to track local functions. A module without a starting doc comment is considered an error. A problem with tag warnings crashing ldoc was sorted out. A table or function comment at the end of file could cause a crash. steve donovan 2011-06-13 15:42:42 +0200
  • d2d7d6ac38 extensive readme changes; more config.ld options 0.3 steve donovan 2011-06-10 11:44:12 +0200
  • fbc283b26c more spacing for dump output; still needs more love steve donovan 2011-06-09 15:07:27 +0200
  • 298450fb93 The invocation 'ldoc .' is treated specially. ./config.ld must exist and can specify the file/directory for the source steve donovan 2011-06-09 12:31:05 +0200
  • 014c003a1a sections may now have associated descriptions 0.2 steve donovan 2011-06-08 19:12:04 +0200
  • be9c3f2f70 Several changes; if a single file is given, the module will be written directly to the output directory (no index). --output can change this name (works). Can define sections steve donovan 2011-06-06 18:38:02 +0200
  • 74455c089a changes in templates required for supporting Sections steve donovan 2011-06-06 18:35:23 +0200
  • 3dedea5b49 tweak to banner and usage text steve donovan 2011-06-05 19:24:31 +0200
  • 513f5abe4f add decent <pre> style for Markdown steve donovan 2011-04-28 14:01:08 +0200
  • 3c99418905 markdown does not like being passed nil ;( steve donovan 2011-04-28 13:59:51 +0200
  • 9541e0274c doc updates steve donovan 2011-04-17 19:12:08 +0200
  • de1a2b11ba table fields and their descriptions can be extracted from Lua table definitions steve donovan 2011-04-17 19:01:57 +0200
  • 1aa717e993 refactoring language-specific stuff out of main parser loop steve donovan 2011-04-17 17:41:02 +0200
  • a31d590e50 new-style modules may have @alias to indicate an internal shorthand for the module steve donovan 2011-04-17 17:06:55 +0200
  • f3406df40d anchored tag pattern at start; embedded @ caused mischief steve donovan 2011-04-17 16:56:27 +0200
  • f5e2b69cff tag parsing changed: @TAG must start on new line. Also, can handle corner case of first comment not being marked as a doc comment steve donovan 2011-04-17 16:31:28 +0200
  • 7d36bf8c5e ldoc -m module.function now works: output is still very ugly Steve Donovan 2011-04-14 15:53:48 +0200
  • 5fdf0f484d crash avoided when there's no module doc comment: a warning is issued Steve Donovan 2011-04-14 15:34:33 +0200
  • 109a794109 --dump broke with PL: an example of abusing a List steve donovan 2011-04-13 18:57:28 +0200
  • f3bb614503 inferred parameter comments had extra line feed steve donovan 2011-04-13 18:49:29 +0200
  • 8aabee8cd2 a --dump debug flag is available; useful for testing steve donovan 2011-04-13 18:45:41 +0200
  • daaa2d1208 prevent crash if C extension module name not specified steve donovan 2011-04-13 18:22:28 +0200
  • 0e36a20ca4 factored out Lua-specific function name/parms deduction steve donovan 2011-04-13 18:18:39 +0200