aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-11-09 09:53:21 -0800
committerGitHub <noreply@github.com>2021-11-09 09:53:21 -0800
commit3d85ff447d8ff7091b600c982495b5d1c8b25bf3 (patch)
tree068a403904504ce445e54d85927f88e47149d5c5 /.github/workflows
parentdocs: update CONFIG.md (diff)
downloadnvim-lspconfig-3d85ff447d8ff7091b600c982495b5d1c8b25bf3.tar
nvim-lspconfig-3d85ff447d8ff7091b600c982495b5d1c8b25bf3.tar.gz
nvim-lspconfig-3d85ff447d8ff7091b600c982495b5d1c8b25bf3.tar.bz2
nvim-lspconfig-3d85ff447d8ff7091b600c982495b5d1c8b25bf3.tar.lz
nvim-lspconfig-3d85ff447d8ff7091b600c982495b5d1c8b25bf3.tar.xz
nvim-lspconfig-3d85ff447d8ff7091b600c982495b5d1c8b25bf3.tar.zst
nvim-lspconfig-3d85ff447d8ff7091b600c982495b5d1c8b25bf3.zip
docs: documentation overhaul (#1384)
* remove automated generation of vimdoc + ci * unify ADVANCED_README.md and vimdoc * rename CONFIGS.md to server_configurations.md, move into doc folder * move CONTRIBUTING.md to .github folder
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/docgen.yml41
1 files changed, 0 insertions, 41 deletions
diff --git a/.github/workflows/docgen.yml b/.github/workflows/docgen.yml
index 0415ed53..a6c3bd55 100644
--- a/.github/workflows/docgen.yml
+++ b/.github/workflows/docgen.yml
@@ -30,44 +30,3 @@ jobs:
git add CONFIG.md
# Only commit and push if we have changes
git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push)
- vimdocgen:
- needs: docgen
- runs-on: [ubuntu-latest]
- permissions:
- contents: write
- steps:
- - uses: actions/checkout@v2
- - uses: rhysd/action-setup-vim@v1
- with:
- neovim: true
- version: nightly
- - name: Install plugins
- run: |
- mkdir -p ~/.local/share/nvim/site/pack/vendor/start
- git clone --depth 1 https://github.com/mjlbach/babelfish.nvim ~/.local/share/nvim/site/pack/vendor/start/babelfish.nvim
- git clone --depth 1 https://github.com/nvim-treesitter/nvim-treesitter ~/.local/share/nvim/site/pack/vendor/start/nvim-treesitter
- ln -s $(pwd) ~/.local/share/nvim/site/pack/vendor/start
-
- - name: Build parser
- run: |
- export PACKPATH=$HOME/.local/share/nvim/site
- nvim -u ~/.local/share/nvim/site/pack/vendor/start/babelfish.nvim/scripts/init.lua --headless -c 'TSInstallSync markdown' -c 'qa'
- - name: Generating docs
- run: |
- export PATH="${PWD}/build/:${PATH}"
- export PACKPATH=$HOME/.local/share/nvim/site
- nvim -u ~/.local/share/nvim/site/pack/vendor/start/babelfish.nvim/scripts/init.lua --headless -c 'luafile ./scripts/vimdocgen.lua' -c 'qa'
- - name: Commit changes
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- COMMIT_MSG: |
- docs: update README.md
- skip-checks: true
- run: |
- git config user.email "actions@github"
- git config user.name "Github Actions"
- git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
- git pull
- git add doc/lspconfig.txt
- # Only commit and push if we have changes
- git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push origin HEAD:${GITHUB_REF})