-
Notifications
You must be signed in to change notification settings - Fork 60
45 lines (38 loc) · 1 KB
/
docs.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
37
38
39
40
41
42
43
44
45
name: Docs
on:
push:
branches:
- main
- 'docs-*'
paths:
- '.github/**'
- 'doc/**'
- 'lua/**'
- 'scripts/**'
jobs:
docs:
runs-on: ubuntu-latest
name: Generate Fidget documentation
steps:
- uses: actions/checkout@v4
- name: Install luajit
run: sudo apt install -y luajit
- name: Options docs from code
run: ./scripts/build-options-docs.sh
- name: API docs from code
run: ./scripts/build-api-docs.sh
- name: Usage docs from README (panvimdoc)
uses: kdheepak/panvimdoc@main
with:
pandoc: README.md
vimdoc: fidget
description: Extensible UI for Neovim notifications and LSP progress messages.
version: "NVIM v0.8.0"
demojify: true
treesitter: true
shiftheadinglevelby: -1
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore(doc): auto-generate help docs"
branch: ${{ github.head_ref }}
file_pattern: 'doc/*.txt'