From 9ce2cb93c902e27a262d1823dad8441961a17695 Mon Sep 17 00:00:00 2001 From: Sandra McCann Date: Tue, 28 Nov 2023 15:50:39 -0500 Subject: [PATCH 1/2] add support for Ansible 9 intersphinx links --- docs/docsite/rst/conf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docsite/rst/conf.py b/docs/docsite/rst/conf.py index a3e83f2b33a..7e339d7920a 100644 --- a/docs/docsite/rst/conf.py +++ b/docs/docsite/rst/conf.py @@ -395,19 +395,19 @@ 'python3': ('https://docs.python.org/3/', None, None), 'jinja2': ('http://jinja.palletsprojects.com/', None, None), 'ansible_2_9': ('https://docs.ansible.com/ansible/2.9/', None, None), - 'ansible_8': ('https://docs.ansible.com/ansible/8/', None, None), + 'ansible_9': ('https://docs.ansible.com/ansible/9/', None, None), } if tags.has('all') else { 'python': ('https://docs.python.org/2/', None, None), 'python3': ('https://docs.python.org/3/', None, None), 'jinja2': ('http://jinja.palletsprojects.com/', None, None), 'ansible_2_9': ('https://docs.ansible.com/ansible/2.9/', None, None), - 'ansible_8': ('https://docs.ansible.com/ansible/8/', None, None), + 'ansible_9': ('https://docs.ansible.com/ansible/8/', None, None), } if tags.has('core_lang') else { 'python': ('https://docs.python.org/2/', (None, None)), 'python3': ('https://docs.python.org/3/', (None, None)), 'jinja2': ('http://jinja.palletsprojects.com/', (None, None)), 'ansible_2_9': ('https://docs.ansible.com/ansible/2.9/', (None, None)), - 'ansible_8': ('https://docs.ansible.com/ansible/8/', (None, None)), + 'ansible_9': ('https://docs.ansible.com/ansible/8/', (None, None)), } if tags.has('core') else { 'python': ('https://docs.python.org/2/', (None, '../python2.inv')), 'python3': ('https://docs.python.org/3/', (None, '../python3.inv')), @@ -423,7 +423,7 @@ 'python3': ('https://docs.python.org/3/', None, None), 'jinja2': ('http://jinja.palletsprojects.com/', None, None), 'ansible_2_9': ('https://docs.ansible.com/ansible/2.9/', None, None), - 'ansible_8': ('https://docs.ansible.com/ansible/8/', None, None), + 'ansible_9': ('https://docs.ansible.com/ansible/8/', None, None), } if tags.has('ansible') else {} # linckchecker settings From 33b1126aa07f7af4e95d4bc7917e3862b99458b5 Mon Sep 17 00:00:00 2001 From: Sandra McCann Date: Wed, 29 Nov 2023 11:24:25 -0500 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Don Naro --- docs/docsite/rst/conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docsite/rst/conf.py b/docs/docsite/rst/conf.py index 7e339d7920a..39208ada158 100644 --- a/docs/docsite/rst/conf.py +++ b/docs/docsite/rst/conf.py @@ -401,13 +401,13 @@ 'python3': ('https://docs.python.org/3/', None, None), 'jinja2': ('http://jinja.palletsprojects.com/', None, None), 'ansible_2_9': ('https://docs.ansible.com/ansible/2.9/', None, None), - 'ansible_9': ('https://docs.ansible.com/ansible/8/', None, None), + 'ansible_9': ('https://docs.ansible.com/ansible/9/', None, None), } if tags.has('core_lang') else { 'python': ('https://docs.python.org/2/', (None, None)), 'python3': ('https://docs.python.org/3/', (None, None)), 'jinja2': ('http://jinja.palletsprojects.com/', (None, None)), 'ansible_2_9': ('https://docs.ansible.com/ansible/2.9/', (None, None)), - 'ansible_9': ('https://docs.ansible.com/ansible/8/', (None, None)), + 'ansible_9': ('https://docs.ansible.com/ansible/9/', (None, None)), } if tags.has('core') else { 'python': ('https://docs.python.org/2/', (None, '../python2.inv')), 'python3': ('https://docs.python.org/3/', (None, '../python3.inv')), @@ -423,7 +423,7 @@ 'python3': ('https://docs.python.org/3/', None, None), 'jinja2': ('http://jinja.palletsprojects.com/', None, None), 'ansible_2_9': ('https://docs.ansible.com/ansible/2.9/', None, None), - 'ansible_9': ('https://docs.ansible.com/ansible/8/', None, None), + 'ansible_9': ('https://docs.ansible.com/ansible/9/', None, None), } if tags.has('ansible') else {} # linckchecker settings