aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2022-03-27 16:21:02 -0400
committerGitHub <noreply@github.com>2022-03-27 16:21:02 -0400
commitb66cc0f5697dfa2031be16f823211680c9c373d1 (patch)
tree0ca11bfa63fe46a3e469a0308a6b4218afe6f729
parentf61841b8cc0af8defff5e6839262c329c6e40f5d (diff)
parent45dbb78747b8caea01fa11916f875bdcfa3ff09e (diff)
downloadrneovim-b66cc0f5697dfa2031be16f823211680c9c373d1.tar.gz
rneovim-b66cc0f5697dfa2031be16f823211680c9c373d1.tar.bz2
rneovim-b66cc0f5697dfa2031be16f823211680c9c373d1.zip
Merge pull request #17873 from muniter/jl-apidocs-improvementes
ci(doc): improve missing docs workflow
-rw-r--r--.github/workflows/api-docs-check.yml1
-rw-r--r--.github/workflows/api-docs.yml3
2 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/api-docs-check.yml b/.github/workflows/api-docs-check.yml
index 46922391f5..f76c035de4 100644
--- a/.github/workflows/api-docs-check.yml
+++ b/.github/workflows/api-docs-check.yml
@@ -7,6 +7,7 @@ on:
paths:
- 'src/nvim/api/*.[ch]'
- 'runtime/lua/**.lua'
+ - 'runtime/doc/**'
jobs:
call-regen-api-docs:
diff --git a/.github/workflows/api-docs.yml b/.github/workflows/api-docs.yml
index 2e22a1200f..ce8ed7996a 100644
--- a/.github/workflows/api-docs.yml
+++ b/.github/workflows/api-docs.yml
@@ -7,6 +7,7 @@ on:
paths:
- 'src/nvim/api/*.[ch]'
- 'runtime/lua/**.lua'
+ - 'runtime/doc/**'
branches:
- 'master'
- 'release-[0-9]+.[0-9]+'
@@ -56,6 +57,8 @@ jobs:
if: ${{ steps.docs.outputs.UPDATED_DOCS != 0 && inputs.check_only }}
run: |
echo "Job failed, run ./scripts/gen_vimdoc.py and commit your doc changes"
+ echo "The doc generation produces the following changes:"
+ git --no-pager diff
exit 1
- name: Automatic PR