Skip to content

Commit

Permalink
enable lenient mode for doc gen
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemorency committed Aug 6, 2024
1 parent df00dd3 commit 10d00e4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/docs-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ jobs:
name: Validate Ansible Docs
uses: ansible-community/github-docs-build/.github/workflows/_shared-docs-build-pr.yml@main
with:
init-lenient: false
# lenient mode is enabled here because the docs generated from the api spec contain
# broken links
# see issue https://github.com/ansible-collections/vmware.vmware_rest/issues/509
init-lenient: true
init-fail-on-error: true
intersphinx-links: |
ansible_devel:https://docs.ansible.com/ansible-core/devel/
build-docs:
permissions:
contents: read
Expand All @@ -44,7 +46,7 @@ jobs:
- name: PR comment
uses: ansible-community/github-docs-build/actions/ansible-docs-build-comment@main
with:
body-includes: '## Docs Build'
body-includes: "## Docs Build"
reactions: heart
action: ${{ needs.build-docs.outputs.changed != 'true' && 'remove' || '' }}
on-closed-action: remove
Expand Down

0 comments on commit 10d00e4

Please sign in to comment.