From 4fc673fe0a0e4ec9fb9a7cafcd109037c0e67bf0 Mon Sep 17 00:00:00 2001 From: Will Hopkins Date: Sat, 23 Dec 2023 11:16:42 -0800 Subject: [PATCH] ci: add documentation generation (#47) --- .github/workflows/panvimdoc.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/panvimdoc.yml diff --git a/.github/workflows/panvimdoc.yml b/.github/workflows/panvimdoc.yml new file mode 100644 index 0000000..99f0c1a --- /dev/null +++ b/.github/workflows/panvimdoc.yml @@ -0,0 +1,28 @@ +name: Generate documentation + +on: + push: + branches: [ "main" ] + workflow_dispatch: + +permissions: + contents: write + pull-requests: write + +jobs: + docs: + runs-on: ubuntu-latest + name: pandoc to vimdoc + steps: + - uses: actions/checkout@v2 + - uses: kdheepak/panvimdoc@main + with: + vimdoc: hawtkeys.nvim + version: "NVIM >=0.9" + toc: true + demojify: true + treesitter: true + - uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: "chore(docs): autogenerate vimdoc" + branch: ${{ github.head_ref }}