neovim/scripts
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
..
bump_deps.lua
check_urls.vim
cliff.toml
download-unicode-files.sh
gen_eval_files.lua feat: improve return type annotations for vim.api.* 2024-01-26 15:07:25 +00:00
gen_filetype.lua
gen_help_html.lua build(docs): separate lint job to validate vimdoc #27227 2024-01-28 14:22:39 -08:00
gen_lsp.lua fix(lsp): clean up duplicate and unused meta type annotations 2024-01-20 14:02:16 +01:00
gen_vimdoc.py docs: auto-generate docs for vim.lpeg and vim.re 2024-01-14 11:08:33 +00:00
genappimage.sh build: make genappimage.sh work with existing CMAKE_INSTALL_PREFIX 2024-01-22 12:38:27 +01:00
git-log-pretty-since.sh
legacy2luatest.pl
lintcommit.lua
lintdoc.lua build(docs): separate lint job to validate vimdoc #27227 2024-01-28 14:22:39 -08:00
lua2dox.lua fix(diagnostic): typing 2024-01-16 09:33:10 +00:00
movedocs.pl
release.sh
shadacat.py
update_terminfo.sh
vim-patch.sh
vimpatch.lua
windows.ti