Skip to content
This repository was archived by the owner on Nov 30, 2025. It is now read-only.

Commit 49e9938

Browse files
committed
adding docs workflow, update readme
1 parent 6451970 commit 49e9938

4 files changed

Lines changed: 30 additions & 3 deletions

File tree

.github/workflows/docs.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
name: docs
6+
7+
jobs:
8+
docs:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- name: panvimdoc
13+
uses: kdheepak/panvimdoc@main
14+
with:
15+
vimdoc: my-template-docs
16+
version: "Neovim >= 0.8.0"
17+
demojify: true
18+
treesitter: true
19+
- name: Push changes
20+
uses: stefanzweifel/git-auto-commit-action@v4
21+
with:
22+
commit_message: "auto-generate vimdoc"
23+
commit_user_name: "github-actions[bot]"
24+
commit_user_email: "github-actions[bot]@users.noreply.github.com"
25+
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@ Click on `Use this template`
2222
## Features and structure
2323

2424
- 100% Lua
25-
- Github actions to run tests and check for formatting errors (Stylua)
26-
- Tests created with [busted](https://olivinelabs.com/busted/) + [plenary.nvim](https://github.com/nvim-lua/plenary.nvim)
27-
- luarocks release support (LUAROCKS_API_KEY secret configuration required)
25+
- Github actions for:
26+
- running tests using [plenary.nvim](https://github.com/nvim-lua/plenary.nvim) and [busted](https://olivinelabs.com/busted/)
27+
- check for formatting errors (Stylua)
28+
- vimdocs autogeneration from README.md file
29+
- luarocks release (LUAROCKS_API_KEY secret configuration required)
2830

2931
### Plugin structure
3032

doc/my-plugin-template.txt

Whitespace-only changes.

doc/my-template-docs.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)