diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 0000000..e1d7366 --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,29 @@ +name: docs +on: + push: + branches: + - "main" + paths: + - "README.org" + - ".github/workflows/docs.yml" +jobs: + build-docs: + runs-on: ubuntu-latest + name: pandoc to vimdoc + permissions: + # Give the default GITHUB_TOKEN write permission to commit and push the + # added or changed files to the repository. + contents: write + steps: + - uses: actions/checkout@v4 + - name: panvimdoc + uses: kdheepak/panvimdoc@v4.0.1 + with: + vimdoc: org-mouse + pandoc: README.org + toc: true + treesitter: true + version: "NVIM v0.9.2" + - uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: "Auto generate docs" diff --git a/README.org b/README.org index 6ed05e1..ba5dc33 100644 --- a/README.org +++ b/README.org @@ -44,11 +44,11 @@ Requires *neovim 0.9.2+*. ** Link Highlighting by Hover - TODO + #+HTML: ** Navigating Links by Click - TODO + #+HTML: * Configuration diff --git a/doc/.placeholder b/doc/.placeholder new file mode 100644 index 0000000..e69de29