From ce4deb20bc771a311392dfeab4ffeea8f4390591 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 16 Jun 2023 11:07:53 +0200 Subject: [PATCH] docs: Add automatic vimdoc generation from README.md --- .github/workflows/panvimdoc.yml | 26 ++++++++++++++++++++++++++ doc/focus.txt | 0 2 files changed, 26 insertions(+) create mode 100644 .github/workflows/panvimdoc.yml create mode 100644 doc/focus.txt diff --git a/.github/workflows/panvimdoc.yml b/.github/workflows/panvimdoc.yml new file mode 100644 index 0000000..5dcbe3f --- /dev/null +++ b/.github/workflows/panvimdoc.yml @@ -0,0 +1,26 @@ +--- +name: Create vimdoc + +on: [push] + +jobs: + docs: + runs-on: ubuntu-latest + name: pandoc to vimdoc + steps: + - uses: actions/checkout@v3 + - name: panvimdoc + uses: kdheepak/panvimdoc@main + with: + vimdoc: focus + version: "Neovim >= 0.7.0" + demojify: true + treesitter: true + ignorerawblocks: true + - uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: "chore(build): auto-generate vimdoc" + commit_user_name: "github-actions[bot]" + commit_user_email: "github-actions[bot]@users.noreply.github.com" + commit_author: "github-actions[bot] " + branch: ${{ github.head_ref }} diff --git a/doc/focus.txt b/doc/focus.txt new file mode 100644 index 0000000..e69de29