Skip to content

Commit

Permalink
Update docs workflows to use intersphinx links instead of hard coding…
Browse files Browse the repository at this point in the history
… 'fake' module links (#1142) (#1144)

(cherry picked from commit 226ea7c)

Co-authored-by: Mark Chappell <[email protected]>
  • Loading branch information
patchback[bot] and tremble authored Oct 10, 2022
1 parent f9751fa commit 73b7390
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docs-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
with:
init-lenient: false
init-fail-on-error: true
# Please also update docs-push.yml
provide-link-targets: |
ansible_collections.community.aws.autoscaling_launch_config_module
intersphinx-links: |
community_aws:https://ansible-collections.github.io/community.aws/branch/main/
ansible_devel:https://docs.ansible.com/ansible-core/devel/
build-docs:
Expand All @@ -31,9 +31,9 @@ jobs:
with:
init-lenient: true
init-fail-on-error: false
# Please also update docs-push.yml
provide-link-targets: |
ansible_collections.community.aws.autoscaling_launch_config_module
intersphinx-links: |
community_aws:https://ansible-collections.github.io/community.aws/branch/main/
ansible_devel:https://docs.ansible.com/ansible-core/devel/
comment:
permissions:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
with:
init-lenient: false
init-fail-on-error: true
# Please also update docs-pr.yml
provide-link-targets: |
ansible_collections.community.aws.autoscaling_launch_config_module
intersphinx-links: |
community_aws:https://ansible-collections.github.io/community.aws/branch/main/
ansible_devel:https://docs.ansible.com/ansible-core/devel/
publish-docs-gh-pages:
# use to prevent running on forks
Expand Down
2 changes: 2 additions & 0 deletions changelogs/fragments/workflows-add-intersphinx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
trivial:
- Update docs build/test workflows to use intersphinx links between amazon.aws and community.aws.

0 comments on commit 73b7390

Please sign in to comment.