Commit Graph

452 Commits

Author SHA1 Message Date
steve donovan 4fbb2aca79 update docs to Lua 5.2/5.3 2016-06-19 12:36:54 +02:00
Steve J Donovan d7ffde62e9 Merge pull request #148 from JonasT/patch-4
Putting "Repeating tags" one level up, since not related to Lua 5.1 modules
2016-06-19 11:26:30 +02:00
Steve J Donovan edba959b1b Merge pull request #237 from Alloyed/fix-dumping-objects
Fix logic error when dumping non-function objects
2016-06-19 11:18:47 +02:00
Steve J Donovan dd44ad1ef5 Merge pull request #236 from catwell/pull-1
Support Lua 5.3
2016-06-19 11:17:19 +02:00
Steve J Donovan 93df7dc06d Merge pull request #235 from drbo/patch-1
Change `git://` to `https://`
2016-06-19 11:15:29 +02:00
Steve J Donovan 44efb79923 Merge pull request #234 from istr/discount-compat
Support both available flavors of discount.
2016-06-19 11:13:54 +02:00
Steve J Donovan 9cd29253cb Merge pull request #233 from JojoBoulix/Honour-SOURCE_DATE_EPOCH
Honour the SOURCE_DATE_EPOCH environment variable
2016-06-19 11:11:40 +02:00
Steve J Donovan 0d9768e86d Merge pull request #223 from thehunmonkgroup/custom-css-config
add custom_css configuration param
2016-06-18 17:38:39 +02:00
Steve J Donovan 2b99730d18 Merge pull request #231 from nebularg/fix_within
Fix @within
2016-06-18 17:33:46 +02:00
Steve J Donovan 5e2f665a49 Merge pull request #222 from th-we/fix-dup-return
Avoid return documentation slipping into preceding function documenation
2016-06-18 17:31:20 +02:00
Steve J Donovan e19b9d5e02 Merge pull request #193 from mooffie/error_func_link
Fix @{error} links
2016-06-17 18:09:52 +02:00
Kyle McLamb 5be42470c3 Fix logic error when dumping non-function objects 2016-06-03 03:28:00 -04:00
Pierre Chapuis 0fb4b257ba support Lua 5.3 2016-05-22 14:58:04 +02:00
Pierre Chapuis 260034ec5c use HTTPS URLs for the manual 2016-05-22 14:57:53 +02:00
Demetri Obenour e7833739d4 Change `git://` to `https://`
`git://` is insecure.  `https://` should be used instead.
2016-04-29 14:03:03 -04:00
Ingo Struck bba78586d4 support both available flavors of ldoc 2016-04-20 20:10:10 +02:00
steve donovan 2ddb9c64c7 Merge branch 'master' of github.com:stevedonovan/LDoc 2016-04-10 18:02:59 +02:00
steve donovan bbbcb1a59f --fatalwarnings flag to force ldoc to return non-zero exit code if there are any warnings; issue #255 @psychon 2016-04-10 18:02:09 +02:00
Steve J Donovan 75a108e0f8 Merge pull request #228 from Alloyed/fix-comment-highlighting
Fix end-of-block comments not highlighting
2016-04-10 16:55:57 +02:00
steve donovan 1ebd148291 allow [int] in table documentation - http://stackoverflow.com/questions/36419386/lua-ldoc-documentation-of-a-table 2016-04-10 16:54:33 +02:00
Steve J Donovan 7dd360e7c0 Merge pull request #221 from th-we/bracket-fix
Allow "]" in description after tag modifiers
2016-04-10 16:44:46 +02:00
JojoBoulix 707484790e Honour the SOURCE_DATE_EPOCH environment variable
When the environment variable SOURCE_DATE_EPOCH is set, use it as the epoch of the date to be written in the output.
This allows to build reproducibly packages depending on LDoc to build their documentation, without any change to their code and build process.
See https://reproducible-builds.org/specs/source-date-epoch/
2016-04-06 22:18:27 +02:00
Kyle Buller 3dada49e07 Fix @within 2016-04-06 01:50:14 -05:00
Kyle McLamb 6fc556eb41 Fix end-of-block comments not highlighting
Originally, comments in code blocks were highlighted by looking for
their starting token at the beginning and a newline at the end.

This PR adds two new comment patterns that look for the end-of-string
instead of a newline, so that comments on the last line of a block are
still highlighted.
2016-02-07 00:52:21 -05:00
Chad Phillips d8ff44f626 add custom_css configuration param. 2015-12-30 21:32:21 -05:00
Thomas Weber 3e4bb302da Avoid return documentation slipping into preceding function documenation 2015-12-23 14:20:49 +01:00
Thomas Weber b5e02a655b Allow "]" in description after tag modifiers 2015-12-11 08:56:45 +01:00
Steve J Donovan aa4cd9daf8 Merge pull request #217 from cjtallman/module_see
Adding module-level see reference support.
2015-10-26 15:08:10 +02:00
cjtallman b9803db8ff Adding module-level see reference support. 2015-10-16 13:34:31 -07:00
Steve Donovan fe15020f76 doc fixes: manual_url is a function; the reference should be to List.moon not list.moon 2015-09-28 16:09:09 +02:00
Steve Donovan 299e82a9d3 Issue #210: custom --date for reproducible builds 2015-09-28 15:53:48 +02:00
Steve Donovan b248a2e035 Modifications to pull #207; enable backward compatibility and fixed spelling mistake 2015-09-28 15:33:18 +02:00
Steve J Donovan 26b9a79384 Merge pull request #207 from zjarkov/master
Using ldoc.prettify_files the same way as for example ldoc.examples
2015-09-28 14:41:39 +02:00
Steve J Donovan 0577744bef Merge pull request #198 from xelivous/patch-1
add missing parenthesis in ldoc_ltp.lua
2015-09-28 13:56:36 +02:00
Jaroslav Vaculik 9f6c84f8bc Using ldoc.prettify_files the same way as for example ldoc.examples 2015-07-24 17:18:13 +02:00
Steve J Donovan 2241932602 Merge pull request #201 from Tieske/master
update rockspecs in repo, fix css
2015-04-28 12:07:24 +02:00
Thijs Schreijer 5da1fa11d4 update rockspecs in repo, fix css 2015-04-28 11:55:19 +02:00
xelivous 134313e9a0 add missing parenthesis in ldoc_ltp.lua 2015-03-28 23:31:42 -05:00
Mooffie 205f72b313 Fix @{error} links
For some reason "error" was missing from the global functions list.
2014-12-29 13:30:47 +02:00
Steve J Donovan 3d193b169f Merge pull request #188 from mooffie/postprocess_html
Have postprocess_html
2014-12-26 17:11:45 +02:00
Steve J Donovan 1a2503ad54 Merge pull request #190 from mooffie/template_error
Show exact error when template loading fails
2014-12-26 17:08:12 +02:00
Mooffie 22e7055f03 Have postprocess_html 2014-12-24 17:51:05 +02:00
Mooffie a985fd4c4b Show exact error when template loading fails 2014-12-21 18:31:44 +02:00
Steve J Donovan e6fb2fedd2 Merge pull request #187 from mooffie/section_css
Have CSS classes for section header and description
2014-12-21 09:50:24 +02:00
Steve J Donovan 3aa63e70c2 Merge pull request #186 from mooffie/css_cleanup
CSS cleanup
2014-12-21 09:07:32 +02:00
Mooffie 5f5c55cca9 CSS cleanup
Two changes in this patch:

(1) Two repeating CSS chunks were moved to their own files:

- Yahoo's "reset" styles were moved to '_reset_css.lua'.
- The code prettifier's styles were moved to '_code_css.lua'.

(The underscore at the filename's start is to show that it's not an
independent file but intended to be embedded in another.)

(2) Everything in "pre.example" that's already in "pre" was removed
(leaving just the font-size).

CAVEAT: the two new files need to be added to the 'rockspec' file.
2014-12-20 22:50:44 +02:00
Mooffie 24a6b27338 Have CSS classes for section header and description 2014-12-16 12:08:08 +02:00
Steve J Donovan ec97770051 Merge pull request #185 from mooffie/user_keywords
Support used-defined keywords (in prettified code).
2014-12-15 18:58:04 +02:00
Steve J Donovan 69a4419420 Merge pull request #184 from mooffie/custom_display_name_for_project_level_items_too
Make custom_display_name work for project-level items
2014-12-15 18:57:37 +02:00
Steve J Donovan d68719d2e0 Merge pull request #183 from mikz/patch-1
Fix undefined quote in Item:build_return_groups
2014-12-15 18:57:12 +02:00