From fb573b8cdec8fb8664d4275abfa6ff6d853c6367 Mon Sep 17 00:00:00 2001 From: Mike Morency Date: Tue, 6 Aug 2024 16:52:56 -0400 Subject: [PATCH] update workflow --- .github/workflows/docs-pr.yml | 5 +++-- .github/workflows/docs-push.yml | 10 +++++++--- docs/docsite/rst/dev_guide.rst | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docs-pr.yml b/.github/workflows/docs-pr.yml index b55b33a0..8c5db287 100644 --- a/.github/workflows/docs-pr.yml +++ b/.github/workflows/docs-pr.yml @@ -18,10 +18,11 @@ jobs: uses: ansible-community/github-docs-build/.github/workflows/_shared-docs-build-pr.yml@main with: # lenient mode is enabled here because the docs generated from the api spec contain - # broken links + # broken links. fail-on-error should also be true, but we set it to false for the + # same issue # see issue https://github.com/ansible-collections/vmware.vmware_rest/issues/509 init-lenient: true - init-fail-on-error: true + init-fail-on-error: false intersphinx-links: | ansible_devel:https://docs.ansible.com/ansible-core/devel/ diff --git a/.github/workflows/docs-push.yml b/.github/workflows/docs-push.yml index a802a7bb..0739e198 100644 --- a/.github/workflows/docs-push.yml +++ b/.github/workflows/docs-push.yml @@ -9,9 +9,9 @@ on: - main - stable-* tags: - - '*' + - "*" schedule: - - cron: '0 12 * * *' + - cron: "0 12 * * *" jobs: build-docs: @@ -20,7 +20,11 @@ jobs: name: Build Ansible Docs uses: ansible-community/github-docs-build/.github/workflows/_shared-docs-build-push.yml@main with: - init-lenient: false + # lenient mode is enabled here because the docs generated from the api spec contain + # broken links. fail-on-error should also be true, but we set it to false for the + # same issue + # 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/ diff --git a/docs/docsite/rst/dev_guide.rst b/docs/docsite/rst/dev_guide.rst index f31889cb..981900d3 100644 --- a/docs/docsite/rst/dev_guide.rst +++ b/docs/docsite/rst/dev_guide.rst @@ -4,7 +4,7 @@ Guidelines for VMware REST module development ********************************************* -The Ansible VMware REST collection (on ``Galaxy ``_, source code ``repository ``_) is maintained by Red Hat and the community. +The Ansible VMware REST collection (on ``Galaxy ``, source code ``repository ``) is maintained by Red Hat and the community. .. contents:: :local: