From cc617aaedf3554e0a87b3f44dfaee6caa9717837 Mon Sep 17 00:00:00 2001 From: Wassim Metallaoui Date: Wed, 5 Jun 2024 11:55:06 -0500 Subject: [PATCH] build(docs): automatically generate neovim docs --- .github/workflows/build.yml | 17 +++++++++++++++++ doc/.gitkeep | 0 2 files changed, 17 insertions(+) create mode 100644 doc/.gitkeep diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 30f8ffb..3112c6f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,3 +13,20 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} version: latest args: --color always --check lua/ + docs: + name: vimdoc + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: kdheepak/panvimdoc@main + with: + vimdoc: scalpel.nvim + version: "NVIM v0.1.0" + toc: true + treesitter: true + docmappingprojectname: false + - uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: "build(docs): auto generate vim documentation" + branch: ${{ github.head_ref }} + diff --git a/doc/.gitkeep b/doc/.gitkeep new file mode 100644 index 0000000..e69de29