neovim/.github/workflows
Lewis Russell 9beb40a4db feat(docs): replace lua2dox.lua
Problem:

The documentation flow (`gen_vimdoc.py`) has several issues:
- it's not very versatile
- depends on doxygen
- doesn't work well with Lua code as it requires an awkward filter script to convert it into pseudo-C.
- The intermediate XML files and filters makes it too much like a rube goldberg machine.

Solution:

Re-implement the flow using Lua, LPEG and treesitter.

- `gen_vimdoc.py` is now replaced with `gen_vimdoc.lua` and replicates a portion of the logic.
- `lua2dox.lua` is gone!
- No more XML files.
- Doxygen is now longer used and instead we now use:
  - LPEG for comment parsing (see `scripts/luacats_grammar.lua` and `scripts/cdoc_grammar.lua`).
  - LPEG for C parsing (see `scripts/cdoc_parser.lua`)
  - Lua patterns for Lua parsing (see `scripts/luacats_parser.lua`).
  - Treesitter for Markdown parsing (see `scripts/text_utils.lua`).
- The generated `runtime/doc/*.mpack` files have been removed.
   - `scripts/gen_eval_files.lua` now instead uses `scripts/cdoc_parser.lua` directly.
- Text wrapping is implemented in `scripts/text_utils.lua` and appears to produce more consistent results (the main contributer to the diff of this change).
2024-02-27 14:41:17 +00:00
..
backport.yml ci: write the correct cherry-picked commit id when backporting 2024-01-01 15:17:56 +01:00
build.yml ci: test on macOS M1 (#27276) 2024-02-17 13:12:39 +01:00
codeql.yml ci: bump github/codeql-action from 2 to 3 2023-12-14 14:16:35 +01:00
coverity.yml ci: refactor CI files 2023-12-09 14:14:38 +01:00
docs.yml feat(docs): replace lua2dox.lua 2024-02-27 14:41:17 +00:00
labeler_issue.yml ci(labeler_issue): split on word boundaries 2024-02-18 12:29:07 +01:00
labeler_pr.yml ci: fix PR labeler 2023-12-10 06:40:51 +08:00
lintcommit.yml ci: refactor CI files 2023-12-09 14:14:38 +01:00
news.yml ci: refactor CI files 2023-12-09 14:14:38 +01:00
notes.md ci: update notes.md 2024-01-26 14:54:57 +01:00
optional.yml ci(s390x): enable CI_BUILD 2024-01-14 23:16:40 +01:00
release.yml ci(release): run universal_macos build on M1 (#27505) 2024-02-17 13:35:47 +01:00
response.yml ci: bump actions/github-script from 6 to 7 (#26041) 2023-11-15 12:57:54 +08:00
reviewers_add.yml ci: refactor CI files 2023-12-09 14:14:38 +01:00
reviewers_remove.yml ci: refactor CI files 2023-12-09 14:14:38 +01:00
test.yml ci: test on macOS M1 (#27276) 2024-02-17 13:12:39 +01:00
vim_patches.yml ci: refactor CI files 2023-12-09 14:14:38 +01:00