summaryrefslogtreecommitdiffstats
path: root/hacking
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2022-03-28 20:57:10 +0200
committerGitHub <noreply@github.com>2022-03-28 20:57:10 +0200
commit3e491db466f66644fc30c21f7b3bb1e1401ab545 (patch)
treeeaaaf219e3b3e0903c1a294a139e855d0eb5f2bb /hacking
parentAdd family fallback for RHEL to register as RedHat (#77371) (diff)
downloadansible-3e491db466f66644fc30c21f7b3bb1e1401ab545.tar.xz
ansible-3e491db466f66644fc30c21f7b3bb1e1401ab545.zip
Porting guide fixes. (#77376)
* Update porting guide generation. * Fix 2.13 porting guide link.
Diffstat (limited to 'hacking')
-rw-r--r--hacking/build_library/build_ansible/command_plugins/porting_guide.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/hacking/build_library/build_ansible/command_plugins/porting_guide.py b/hacking/build_library/build_ansible/command_plugins/porting_guide.py
index 40097a3f6c..7671efeb45 100644
--- a/hacking/build_library/build_ansible/command_plugins/porting_guide.py
+++ b/hacking/build_library/build_ansible/command_plugins/porting_guide.py
@@ -24,7 +24,7 @@ This section discusses the behavioral changes between Ansible {{ prev_ver }} and
It is intended to assist in updating your playbooks, plugins and other parts of your Ansible infrastructure so they will work with this version of Ansible.
-We suggest you read this page along with `Ansible Changelog for {{ ver }} <https://github.com/ansible/ansible/blob/devel/changelogs/CHANGELOG-v{{ ver }}.rst>`_ to understand what updates you may need to make.
+We suggest you read this page along with `Ansible Changelog for {{ ver }} <https://github.com/ansible/ansible/blob/stable-{{ ver }}/changelogs/CHANGELOG-v{{ ver }}.rst>`_ to understand what updates you may need to make.
This document is part of a collection on porting. The complete list of porting guides can be found at :ref:`porting guides <porting_guides>`.
@@ -117,7 +117,7 @@ def generate_porting_guide(version):
def write_guide(version, guide_content):
- filename = 'porting_guide_{0}.rst'.format(version)
+ filename = 'docs/docsite/rst/porting_guides/porting_guide_core_{0}.rst'.format(version)
with open(filename, 'w') as out_file:
out_file.write(guide_content)