Porting guide fixes. (#77376)

* Update porting guide generation.
* Fix 2.13 porting guide link.
pull/77377/head
Matt Clay 3 years ago committed by GitHub
parent 4723eb9caa
commit 3e491db466
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,7 +9,7 @@ This section discusses the behavioral changes between ``ansible-core`` 2.12 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-core Changelog for 2.13 <https://github.com/ansible/ansible/blob/devel/changelogs/CHANGELOG-v2.13.rst>`_ to understand what updates you may need to make.
We suggest you read this page along with `ansible-core Changelog for 2.13 <https://github.com/ansible/ansible/blob/stable-2.13/changelogs/CHANGELOG-v2.13.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>`.

@ -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)

Loading…
Cancel
Save