Commit Graph

518 Commits

Author SHA1 Message Date
Caleb Maclennan 6118163064
chore: Add status badge for linter to readme 2020-10-02 01:06:17 +03:00
Caleb Maclennan 144199119b
ci: Add CI job that runs Lua linter 2020-10-02 01:06:17 +03:00
Caleb Maclennan 8a683f51ba
chore: Setup luacheck config file for project 2020-10-02 01:06:17 +03:00
Kyra Zimmer 9fa1150194
Match backslash as separator in references for moonscript (#273) 2020-09-30 20:11:28 +03:00
Caleb Maclennan 6399f6a501
Rename standard files with traditional names 2020-09-30 02:30:07 +03:00
Caleb Maclennan a3bb407ffd
Use default MD template if none specified, fixes #256 2020-09-30 02:27:14 +03:00
Daniel Hahler bb55647363
process_see_reference: look for name.s before functions (#257)
The `@see` reference for an item like the following might point to
itself, although this is in `@module tag` and there is
`tag.master_width_factor` also.

```
--- The default master width factor
--
-- @beautiful beautiful.master_width_factor
-- @param number (default: 0.5)
-- @see master_width_factor
-- @see gap
```

548b15e883/lib/awful/tag.lua (L564-L569)

This patch makes it look for the absolute reference using the module
name first.
2020-09-30 00:54:57 +03:00
Quentin Minster e6e6a79e19
Honor the TMPDIR environment variable (#266)
When creating a temporary directory, use $TMPDIR as base directory if set, otherwise fall back to "/tmp".
2020-09-30 00:45:27 +03:00
Christian Egli b08024b592
Remove a duplicated sentence (#272)
Must have been a leftover from a cut-n-paste frenzy
2020-09-30 00:43:29 +03:00
Caleb Maclennan cae19aab3e
Merge pull request #277 from AntumDeluge/makefile_edits 2020-09-30 00:42:49 +03:00
Caleb Maclennan 55816f7571
Merge pull request #278 from AntumDeluge/usage_version 2020-09-30 00:38:44 +03:00
Caleb Maclennan 702585fe17
Merge branch 'master' into usage_version 2020-09-30 00:35:53 +03:00
Caleb Maclennan 8564002c3b
Tweak usage option order and correct small error in PR contribution 2020-09-30 00:33:38 +03:00
Caleb Maclennan 48cc9c2f1f
Merge pull request #303 from AntumDeluge/touchups 2020-09-30 00:25:56 +03:00
Caleb Maclennan bdcdce0188
Merge branch 'master' into touchups 2020-09-30 00:25:38 +03:00
Caleb Maclennan 2a81975a55
Update link to Penlight project 2020-09-30 00:23:17 +03:00
Hisham Muhammad 68d516ff34
Add 'new' theme and switch LDoc's own documentation to it (#287) 2020-09-30 00:16:16 +03:00
Jakub Jirutka 5b2ddb0364
Fix syntax errors in builtin.lpeg (#263) 2020-09-30 00:04:38 +03:00
Alexei Robyn 77e72bf92a
Support the use of commonmark markdown via cmark-lua (#311) 2020-09-29 23:59:43 +03:00
wesley 794fd0e14e
Fix error iterating nil object when mapping functions to line numbers (#320) 2020-09-29 23:42:16 +03:00
Elliott Slaughter f97850dee6
Fix typo (#325) 2020-09-29 22:36:30 +03:00
Rodrigo Queiro de3e5885d2
Fix some typos in readme.md (#247) 2020-09-29 22:33:29 +03:00
Yao 0f2216af4d
Fix typo (#245) 2020-09-29 22:32:46 +03:00
Jordan Irwin c6cc7a717b Link to LuaRocks homepage 2018-07-23 11:50:20 -07:00
Jordan Irwin 461def557e Link to "Lua for Windows" GitHub page 2018-07-23 11:44:53 -07:00
Jordan Irwin 1ba5167190 Add command line option for displaying version information:
- Creates version option ('-V' or '--version').
- Allows invoking 'ldoc --version' without 'file' parameter.
2017-08-10 14:01:57 -07:00
Jordan Irwin 7a94466936 Clean up 'usage' for clarity in terminal output 2017-08-10 13:18:58 -07:00
Jordan Irwin ceed3da428 Small change to version string for better readability 2017-08-10 12:56:52 -07:00
Jordan Irwin 0019beaa41 makefile: Ensure that 'LUA_BINDIR' exists before installation 2017-08-10 12:36:41 -07:00
Jordan Irwin 03fcec035f makefile: Suppress automatic echoing & use verbosity in commands 2017-08-10 12:36:15 -07:00
Jordan Irwin a6bd98c3fb Enclose makefile paths in quotes for safety 2017-08-10 12:23:41 -07:00
Steve J Donovan f91c3182cf Merge pull request #253 from AlexisBRENON/master
Add more names
2016-12-19 11:45:16 +02:00
Steve Donovan e97ba25d57 Version bump to 1.4.6 2016-11-07 09:20:55 -05:00
Alexis BRENON 94dbff2861 More generic approach with a table of names hierarchy 2016-10-26 09:47:26 +02:00
Alexis BRENON 8d9d8e84a2 Add fully_qualified_name and local_name 2016-10-25 21:21:41 +02:00
Steve Donovan 7e5ffcf602 typo in last commit (Eagle eyes of Gary) 2016-10-13 14:53:00 +02:00
Steve Donovan 8de6c79493 issue #251 avoid potential clash between built-in and custom defined kinds like sections 2016-10-13 11:00:05 +02:00
Steve Donovan 3f57e431a2 Issue #248 overeager error messages for module-level fields 2016-10-09 10:41:48 -04:00
Steve Donovan 09b9fdbdd6 Issue #248: assignment wrong way around (Monday morning mode) 2016-08-22 13:18:52 +02:00
Steve Donovan 6e7f4158ec Issue #248 standalone field considered a parse error; reset is_local after parse_error set 2016-08-22 13:04:28 +02:00
steve donovan 607b5cf4c6 globals _G and _VERSION are _tables_ 2016-08-21 11:18:28 +02:00
steve donovan 749894954b Bump to 1.4.5; updated changes and docs 2016-08-21 11:16:50 +02:00
Steve J Donovan 3e573f4edd Merge pull request #244 from mpeterv/make-target-dir
Use dir.makepath when creating output directory
2016-07-01 14:01:55 +02:00
mpeterv 8bc3700377 Use dir.makepath when creating output directory
Don't exit with error if an intermediate directory doesn't exist.
Also, handle directory creation failure.
2016-07-01 14:48:05 +03:00
Steve J Donovan 088034e437 Merge pull request #243 from mpeterv/fix-module-call-parse
Fix module call parse
2016-07-01 13:46:38 +02:00
Peter Melnichenko 1dfcf2e0a9 Handle failure to parse module call 2016-07-01 14:34:15 +03:00
Peter Melnichenko 3798cb42d3 Don't try to parse a module call if 'module' token is field name
That is, ignore `foo.module()` when looking for module calls.
2016-07-01 14:31:53 +03:00
steve donovan b903eb79df temporary file hack borked on Windows; working on parsing tag modifiers _properly_ 2016-06-27 19:45:26 +02:00
Steve Donovan d47c0f89bf Debian lua-discount package is _yet another Lua binding_ to libmarkdown2 2016-06-27 16:44:18 +02:00
Steve Donovan 7bed1fa826 issue #191 strip left spaces from usage code 2016-06-27 16:25:56 +02:00