Skip to content

Commit 4f1d6ea

Browse files
authored
Reformat docs (#737)
* chore: reformat markdown files * chore: ignore vim helptags Help tags get auto-generated bei Neovim. * docs: replace md2vim with panvimdoc in ci pipeline * fixup! docs: replace md2vim with panvimdoc in ci pipeline --------- Co-authored-by: Sebastian Flügge <[email protected]>
1 parent 52f85be commit 4f1d6ea

File tree

6 files changed

+981
-636
lines changed

6 files changed

+981
-636
lines changed

.github/workflows/docgen.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ jobs:
1212
- uses: actions/checkout@v4
1313
with:
1414
token: ${{ secrets.GH_TOKEN }}
15-
- uses: actions/setup-go@v5
16-
with:
17-
go-version: '^1.17.1'
18-
- name: Install md2vim
19-
run: go install git.foosoft.net/alex/md2vim@latest
2015
- name: Install Neovim
2116
uses: rhysd/action-setup-vim@v1
2217
id: neovim
@@ -30,7 +25,10 @@ jobs:
3025
- name: Generate api docs
3126
run: make api_docs
3227
- name: Generate vim docs
33-
run: make docs
28+
uses: kdheepak/panvimdoc@main
29+
with:
30+
vimdoc: orgmode
31+
pandoc: 'DOCS.md'
3432
- name: Commit changes
3533
env:
3634
GH_TOKEN: ${{ secrets.GH_TOKEN }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,6 @@ luac.out
3939

4040
# Directory containing testing dependencies downloaded during test run
4141
.deps/
42+
43+
# Auto-generated vim helptags
44+
doc/tags

CONTRIBUTING.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ If you spot something missing in our [docs](DOCS.md), don't hesitate making a PR
1818
## Local dev
1919

2020
Requirements:
21+
2122
- [StyLua](https://github.com/JohnnyMorganz/StyLua) - For formatting
2223

2324
To set up local development, run `make setup_dev`. This will add a pre-commit hook that will auto format all files before committing them.
@@ -33,13 +34,15 @@ Please document any new code you add with [emmylua annotations](https://emmylua.
3334

3435
### Tests
3536

36-
To run tests run `make test` in the nvim-orgmode directory:
37+
To run tests run `make test` in the nvim-orgmode directory:
38+
3739
```
3840
make test
3941
```
4042

4143
To run a specific test you can set a `FILE` environment variable to a specific
4244
spec you want to test. Example:
45+
4346
```
4447
make test FILE=./tests/plenary/api/api_spec.lua
4548
```

0 commit comments

Comments
 (0)