Skip to content

Commit 8213aa7

Browse files
authored
Update panvimdoc.yml
1 parent 0cab05e commit 8213aa7

File tree

1 file changed

+15
-18
lines changed

1 file changed

+15
-18
lines changed

.github/workflows/panvimdoc.yml

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,25 @@
11
name: panvimdoc
22

3-
on: [push]
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- README.md
8+
- .github/workflows/panvimdoc.yml
9+
10+
permissions:
11+
contents: write
412

513
jobs:
614
docs:
715
runs-on: ubuntu-latest
816
name: pandoc to vimdoc
917
steps:
1018
- uses: actions/checkout@v2
11-
- name: panvimdoc
12-
uses: kdheepak/panvimdoc@main
19+
- uses: kdheepak/panvimdoc@main
20+
with:
21+
vimdoc: ${{ github.event.repository.name }}
22+
- uses: stefanzweifel/git-auto-commit-action@v4
1323
with:
14-
vimdoc: "neorg-extras" # Output vimdoc project name (required)
15-
# The following are all optional
16-
pandoc: "README.md" # Input pandoc file
17-
version: "NVIM v0.10.0" # Vim version number
18-
toc: true # Table of contents
19-
description: "" # Project description used in title (if empty, uses neovim version and current date)
20-
titledatepattern: "%Y %B %d" # Pattern for the date that used in the title
21-
demojify: false # Strip emojis from the vimdoc
22-
dedupsubheadings: true # Add heading to subheading anchor links to ensure that subheadings are unique
23-
treesitter: true # Use treesitter for highlighting codeblocks
24-
ignorerawblocks: true # Ignore raw html blocks in markdown when converting to vimdoc
25-
docmapping: false # Use h4 headers as mapping docs
26-
docmappingprojectname: true # Use project name in tag when writing mapping docs
27-
shiftheadinglevelby: 0 # Shift heading levels by specified number
28-
incrementheadinglevelby: 0 # Increment heading levels by specified number
24+
commit_message: "Auto generate docs"
25+
branch: ${{ github.head_ref }}

0 commit comments

Comments
 (0)