docs: add an error recipe to README #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: panvimdoc | |
on: [push] | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
name: pandoc to vimdoc | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v2 | |
- name: panvimdoc | |
uses: kdheepak/[email protected] | |
with: | |
vimdoc: processing.nvim # Output vimdoc project name (required) | |
# The following are all optional | |
pandoc: "README.md" # Input pandoc file | |
version: "NVIM v0.10.0" # Vim version number | |
toc: true # Table of contents | |
description: "" # Project description used in title (if empty, uses neovim version and current date) | |
titledatepattern: "%Y %B %d" # Pattern for the date that used in the title | |
demojify: true # Strip emojis from the vimdoc | |
dedupsubheadings: true # Add heading to subheading anchor links to ensure that subheadings are unique | |
treesitter: true # Use treesitter for highlighting codeblocks | |
ignorerawblocks: true # Ignore raw html blocks in markdown when converting to vimdoc | |
docmapping: false # Use h4 headers as mapping docs | |
docmappingprojectname: true # Use project name in tag when writing mapping docs | |
shiftheadinglevelby: 0 # Shift heading levels by specified number | |
incrementheadinglevelby: 0 # Increment heading levels by specified number | |
- name: Commit and Push Changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "chore(docs): auto generate docs" | |
branch: ${{ github.head_ref }} |