-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (36 loc) · 931 Bytes
/
doc.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Docs
on:
push:
branches:
- master
jobs:
doc:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Neovim
uses: rhysd/action-setup-vim@v1
with:
neovim: true
- name: panvimdoc
uses: kdheepak/[email protected]
with:
vimdoc: git-dev
inputFile: README.md
toc: true
vimVersion: "Neovim verion 0.9"
description: ""
demojify: true
treesitter: true
shiftheadinglevelby: -1
docmapping: true
- name: Generate help tags
run: nvim --headless --clean -c "helptags doc/" -c qa
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "doc: auto generate"
branch: ${{ github.head_ref }}
file_pattern: doc