Refactor lsp--document-highlight-callback to check window visibility … #1837
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docs | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: CHANGELOG.org -> CHANGELOG.md | |
uses: docker://pandoc/core:2.9 | |
with: | |
args: -s CHANGELOG.org -t gfm -o docs/page/CHANGELOG.md | |
- uses: purcell/setup-emacs@master | |
with: | |
version: 27.1 | |
- uses: conao3/setup-cask@master | |
with: | |
version: 0.8.4 | |
- name: Generate LSPs docs | |
run: 'make docs' | |
- name: Docker Login | |
uses: docker/[email protected] | |
with: | |
registry: ghcr.io | |
username: $GITHUB_ACTOR | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: MkDocs | |
run: | | |
cp -rf README.md examples docs | |
docker run --rm -v ${PWD}:/docs ghcr.io/emacs-lsp/docs-image/docs-image:latest -- build | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./site |