Preferred using Neovim 0.10's built-in function #53
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: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
docs: # https://github.com/kdheepak/panvimdoc | |
name: docs | |
if: ${{ github.ref == 'refs/heads/master' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: panvimdoc | |
uses: kdheepak/panvimdoc@main | |
with: | |
vimdoc: fittencode.nvim | |
pandoc: "README.md" # Input pandoc file | |
version: "Neovim >= 0.8.0" | |
toc: true # Table of contents | |
demojify: true # Strip emojis from the vimdoc | |
treesitter: true # Use treesitter for highlighting codeblocks | |
- name: commit | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "Auto generate vim syntax docs" | |
commit_user_name: "github-actions[bot]" | |
commit_user_email: "github-actions[bot]@users.noreply.github.com" | |
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>" |