mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 21:55:17 -07:00
01e82eba20
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. |
||
---|---|---|
.. | ||
api_spec.lua | ||
base64_spec.lua | ||
buffer_updates_spec.lua | ||
command_line_completion_spec.lua | ||
commands_spec.lua | ||
diagnostic_spec.lua | ||
ffi_spec.lua | ||
filetype_spec.lua | ||
fs_spec.lua | ||
glob_spec.lua | ||
highlight_spec.lua | ||
inspector_spec.lua | ||
iter_spec.lua | ||
json_spec.lua | ||
loader_spec.lua | ||
loop_spec.lua | ||
luaeval_spec.lua | ||
mpack_spec.lua | ||
overrides_spec.lua | ||
runtime_spec.lua | ||
secure_spec.lua | ||
snippet_spec.lua | ||
spell_spec.lua | ||
system_spec.lua | ||
text_spec.lua | ||
thread_spec.lua | ||
ui_event_spec.lua | ||
ui_spec.lua | ||
uri_spec.lua | ||
version_spec.lua | ||
vim_spec.lua | ||
watch_spec.lua | ||
xdiff_spec.lua |