https://github.com/python/cpython/commit/aa449cf063581ea515e2a6194d175f5e1db3d62e
commit: aa449cf063581ea515e2a6194d175f5e1db3d62e
branch: main
author: Hugo van Kemenade <[email protected]>
committer: hugovk <[email protected]>
date: 2024-07-28T10:53:21+03:00
summary:

gh-122085: Create dedicated page for deprecations (#122352)

Co-authored-by: Adam Turner <[email protected]>

files:
A Doc/deprecations/index.rst
M Doc/contents.rst
M Doc/tools/templates/indexcontent.html

diff --git a/Doc/contents.rst b/Doc/contents.rst
index 24ceacb0076b5e..b57f4b09a5dcb6 100644
--- a/Doc/contents.rst
+++ b/Doc/contents.rst
@@ -14,6 +14,7 @@
    installing/index.rst
    howto/index.rst
    faq/index.rst
+   deprecations/index.rst
    glossary.rst
 
    about.rst
diff --git a/Doc/deprecations/index.rst b/Doc/deprecations/index.rst
new file mode 100644
index 00000000000000..cfb30dd09aef6f
--- /dev/null
+++ b/Doc/deprecations/index.rst
@@ -0,0 +1,10 @@
+Deprecations
+============
+
+.. include:: pending-removal-in-3.14.rst
+
+.. include:: pending-removal-in-3.15.rst
+
+.. include:: pending-removal-in-3.16.rst
+
+.. include:: pending-removal-in-future.rst
diff --git a/Doc/tools/templates/indexcontent.html 
b/Doc/tools/templates/indexcontent.html
index 6f854e86ab8ef1..f2e9fbb0106452 100644
--- a/Doc/tools/templates/indexcontent.html
+++ b/Doc/tools/templates/indexcontent.html
@@ -33,6 +33,8 @@ <h1>{{ docstitle|e }}</h1>
          <span class="linkdescr">{% trans %}C API reference{% endtrans 
%}</span></p>
       <p class="biglink"><a class="biglink" href="{{ pathto("faq/index") 
}}">{% trans %}FAQs{% endtrans %}</a><br/>
          <span class="linkdescr">{% trans %}Frequently asked questions (with 
answers!){% endtrans %}</span></p>
+      <p class="biglink"><a class="biglink" href="{{ 
pathto("deprecations/index") }}">{% trans %}Deprecations{% endtrans %}</a><br/>
+         <span class="linkdescr">{% trans %}Deprecated functionality{% 
endtrans %}</span></p>
     </td></tr>
   </table>
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to