Commit Graph

540 Commits

Author SHA1 Message Date
Caleb Maclennan 71dd5edbda
chore: Check source file exists before comparing timestamps (#375) 2022-06-17 13:41:29 +03:00
Dexter Castor Döpping 38b1537d1f
Fix typo 'ether' -> 'either' (#372) 2022-06-09 22:31:52 +03:00
Digifox03 e97398356b
Add support for lua 5.4 manual (#366) 2022-01-17 13:53:47 +03:00
Jonathan Ringer 95b3785785
chore: Fix homepage URL in rockspec (#368) 2021-12-29 00:23:10 +03:00
Pierre Chapuis bbd498ab39 Update documentation links
https://github.com/lunarmodules/LDoc/issues/354
2021-06-24 13:07:51 +02:00
Jordan Irwin 147951025b
Add option to show a project icon (Issue #307, PR #315) 2021-05-10 20:16:55 +03:00
Pierre Chapuis 0d1831da35
Merge pull request #349 from catwell/pr-update-github-actions
update Github Actions for Lua and LuaRocks
2021-03-27 12:23:57 +01:00
Pierre Chapuis efe1b7b459 update Github Actions for Lua and LuaRocks 2021-03-27 12:22:18 +01:00
fum1h1ro 3df442d66a
feat: add filetype for xLua .cs (#340) 2020-11-20 14:50:23 +03:00
Caleb Maclennan 380c7db50c
Merge pull request #331 from alerque/lint-and-test 2020-10-02 01:15:27 +03:00
Caleb Maclennan ce1229b434
refactor: Don't assign scope to variable from Lua VM 2020-10-02 01:06:18 +03:00
Caleb Maclennan 42311877f0
fix: Fix builtin module doc's invalid syntax
These are kind of pseudo code, but there doesn't seem to be any reason
to use bogus Lua syntax either.
2020-10-02 01:06:18 +03:00
Caleb Maclennan f979400edb
chore: Add lint ignore overrides for warnings that get a pass
Mostly because refactoring these is hard, double negatives are much
harder to follow logic wise and there isn't much point in refactoring
these loops unless they need other work.
2020-10-02 01:06:18 +03:00
Caleb Maclennan a3e8db19de
fix: Fix bug in error handler, io.exit()→os.exit() 2020-10-02 01:06:18 +03:00
Caleb Maclennan 92a6714d9a
refactor: Drop completely unused variable references 2020-10-02 01:06:18 +03:00
Caleb Maclennan f1b3f76aca
refactor: Remove what seems to be unused debug cruft 2020-10-02 01:06:18 +03:00
Caleb Maclennan f70542c626
refactor: Remove unused require()s 2020-10-02 01:06:18 +03:00
Caleb Maclennan 12a9814911
fix: Test targets compare non-existent directory 2020-10-02 01:06:18 +03:00
Caleb Maclennan 874d845ee9
fix: Use current repository ldoc for tests, not system installed one 2020-10-02 01:06:18 +03:00
Caleb Maclennan 59b728ca20
style: Cleanup whitespace 2020-10-02 01:06:17 +03:00
Caleb Maclennan c780179897
style: Fix file encoding, dos→unix line endings 2020-10-02 01:06:17 +03:00
Caleb Maclennan 6ef3a8ccc3
feat: Add make target to generate test 'before' condition' 2020-10-02 01:06:17 +03:00
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