neovim/test/functional/lua
Jongwook Choi 01e82eba20
build(docs): separate lint job to validate vimdoc #27227
Summary: Separate the lint job (`make lintdoc`) to validate runtime/doc,
it is no longer as a part of functionaltest (help_spec).

Build (cmake) and CI:

- `make lintdoc`: validate vimdoc files and test-generate HTML docs.
  CI will run this as a part of the "docs" workflow.

- `scripts/lintdoc.lua` is added as an entry point (executable script)
  for validating vimdoc files.

scripts/gen_help_html.lua:

- Move the tests for validating docs and generating HTMLs from
  `help_spec.lua` to `gen_help_html`. Added:
  - `gen_help_html.run_validate()`.
  - `gen_help_html.test_gen()`.

- Do not hard-code `help_dir` to `build/runtime/doc`, but resolve from
  `$VIMRUNTIME`. Therefore, the `make lintdoc` job will check doc files
  on `./runtime/doc`, not on `./build/runtime/doc`.

- Add type annotations for gen_help_html.
2024-01-28 14:22:39 -08:00
..
api_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
base64_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
buffer_updates_spec.lua Merge pull request #26734 from bfredl/splitaroo 2024-01-13 10:59:46 +01:00
command_line_completion_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
commands_spec.lua docs(lua): update ":{range}lua" docs + error message #27231 2024-01-27 10:40:30 -08:00
diagnostic_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
ffi_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
filetype_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
fs_spec.lua test: refactor Paths 2024-01-17 10:10:17 +00:00
glob_spec.lua refactor(lua): refactored glob 2024-01-19 11:54:04 +00:00
highlight_spec.lua test: remove helpers.sleep() 2024-01-12 12:04:19 +00:00
inspector_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
iter_spec.lua feat(vim.iter): add Iter:flatten (#26786) 2024-01-10 20:57:51 -06:00
json_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
loader_spec.lua test: remove helpers.sleep() 2024-01-12 12:04:19 +00:00
loop_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
luaeval_spec.lua test: big cleanup followup 2024-01-17 10:10:17 +00:00
mpack_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
overrides_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
runtime_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
secure_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
snippet_spec.lua test(lua/snippet_spec): wait for completion menu (#27243) 2024-01-28 22:01:25 +08:00
spell_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
system_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
text_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
thread_spec.lua test: do not inject vim module into global helpers 2024-01-12 12:04:18 +00:00
ui_event_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
ui_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
uri_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
version_spec.lua feat(vim.version): add vim.version.le and vim.version.ge 2024-01-21 11:41:50 +01:00
vim_spec.lua fix(eval): properly support checking v:lua function in exists() (#27124) 2024-01-22 16:04:50 +08:00
watch_spec.lua docs: various #25289 2024-01-18 00:14:48 -08:00
xdiff_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00