Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 342bfb1

Browse files
authored
Merge pull request #20132 from timhoffm/changelog
Create changelog page
2 parents 80c6512 + 39c6d93 commit 342bfb1

File tree

9 files changed

+204
-60
lines changed

9 files changed

+204
-60
lines changed

doc/api/api_changes_old.rst

Lines changed: 0 additions & 11 deletions
This file was deleted.

doc/api/index.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
API
22
===
33

4-
.. toctree::
5-
:hidden:
6-
7-
api_changes
8-
9-
For recent changes, see :doc:`api_changes`.
10-
114
When using the library you will typically create
125
:doc:`Figure <figure_api>` and :doc:`Axes <axes_api>` objects and
136
call their methods to add content and modify the appearance.
Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11

2-
===========
3-
API Changes
4-
===========
5-
6-
If updating Matplotlib breaks your scripts, this list may help you figure out
7-
what caused the breakage and how to fix it by updating your code.
8-
9-
For API changes in older versions see
10-
11-
.. toctree::
12-
:maxdepth: 1
13-
14-
api_changes_old
15-
16-
Changes for the latest version are listed below. For new features that were
17-
added to Matplotlib, see :ref:`whats-new`
2+
================
3+
Next API Changes
4+
================
185

196
.. ifconfig:: releaselevel == 'dev'
207

@@ -37,6 +24,3 @@ added to Matplotlib, see :ref:`whats-new`
3724
next_api_changes/deprecations/*
3825
next_api_changes/development/*
3926
next_api_changes/removals/*
40-
41-
.. include:: prev_api_changes/api_changes_3.4.2.rst
42-
.. include:: prev_api_changes/api_changes_3.4.0.rst

doc/conf.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@
6868

6969
exclude_patterns = [
7070
'api/prev_api_changes/api_changes_*/*',
71-
# Be sure to update users/whats_new.rst:
72-
'users/prev_whats_new/whats_new_3.4.0.rst',
7371
]
7472

7573

doc/users/index.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ User's Guide
1515
installing.rst
1616
../tutorials/index.rst
1717
interactive.rst
18-
whats_new.rst
18+
release_notes.rst
1919
history.rst
20-
github_stats.rst
21-
whats_new_old.rst
2220
license.rst
2321
../citing.rst
2422
credits.rst

doc/users/whats_new.rst renamed to doc/users/next_whats_new.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. _whats-new:
22

3-
===========
4-
What's new?
5-
===========
3+
================
4+
Next what's new?
5+
================
66

77
.. ifconfig:: releaselevel == 'dev'
88

@@ -24,6 +24,3 @@ What's new?
2424
:maxdepth: 1
2525

2626
next_whats_new/*
27-
28-
.. Be sure to update the version in `exclude_patterns` in conf.py.
29-
.. include:: prev_whats_new/whats_new_3.4.0.rst

doc/users/release_notes.rst

Lines changed: 189 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,189 @@
1+
.. redirect-from:: /api/api_changes_old
2+
.. redirect-from:: /users/whats_new_old
3+
4+
5+
=============
6+
Release notes
7+
=============
8+
9+
.. include from another document so that it's easy to exclude this for releases
10+
.. include:: release_notes_next.rst
11+
12+
3.4
13+
===
14+
.. toctree::
15+
:maxdepth: 1
16+
17+
prev_whats_new/whats_new_3.4.0.rst
18+
../api/prev_api_changes/api_changes_3.4.2.rst
19+
../api/prev_api_changes/api_changes_3.4.0.rst
20+
prev_whats_new/github_stats_3.4.1.rst
21+
prev_whats_new/github_stats_3.4.0.rst
22+
23+
3.3
24+
===
25+
.. toctree::
26+
:maxdepth: 1
27+
28+
prev_whats_new/whats_new_3.3.0.rst
29+
../api/prev_api_changes/api_changes_3.3.1.rst
30+
../api/prev_api_changes/api_changes_3.3.0.rst
31+
prev_whats_new/github_stats_3.3.4.rst
32+
prev_whats_new/github_stats_3.3.3.rst
33+
prev_whats_new/github_stats_3.3.2.rst
34+
prev_whats_new/github_stats_3.3.1.rst
35+
prev_whats_new/github_stats_3.3.0.rst
36+
37+
3.2
38+
===
39+
.. toctree::
40+
:maxdepth: 1
41+
42+
prev_whats_new/whats_new_3.2.0.rst
43+
../api/prev_api_changes/api_changes_3.2.0.rst
44+
prev_whats_new/github_stats_3.2.2.rst
45+
prev_whats_new/github_stats_3.2.1.rst
46+
prev_whats_new/github_stats_3.2.0.rst
47+
48+
3.1
49+
===
50+
.. toctree::
51+
:maxdepth: 1
52+
53+
prev_whats_new/whats_new_3.1.0.rst
54+
../api/prev_api_changes/api_changes_3.1.1.rst
55+
../api/prev_api_changes/api_changes_3.1.0.rst
56+
prev_whats_new/github_stats_3.1.2.rst
57+
prev_whats_new/github_stats_3.1.1.rst
58+
prev_whats_new/github_stats_3.1.0.rst
59+
60+
3.0
61+
===
62+
.. toctree::
63+
:maxdepth: 1
64+
65+
prev_whats_new/whats_new_3.0.rst
66+
../api/prev_api_changes/api_changes_3.0.1.rst
67+
../api/prev_api_changes/api_changes_3.0.0.rst
68+
prev_whats_new/github_stats_3.0.2.rst
69+
70+
2.2
71+
===
72+
.. toctree::
73+
:maxdepth: 1
74+
75+
prev_whats_new/whats_new_2.2.rst
76+
../api/prev_api_changes/api_changes_2.2.0.rst
77+
78+
2.1
79+
===
80+
.. toctree::
81+
:maxdepth: 1
82+
83+
prev_whats_new/whats_new_2.1.0.rst
84+
../api/prev_api_changes/api_changes_2.1.2.rst
85+
../api/prev_api_changes/api_changes_2.1.1.rst
86+
../api/prev_api_changes/api_changes_2.1.0.rst
87+
88+
2.0
89+
===
90+
.. toctree::
91+
:maxdepth: 1
92+
93+
prev_whats_new/whats_new_2.0.0.rst
94+
../api/prev_api_changes/api_changes_2.0.1.rst
95+
../api/prev_api_changes/api_changes_2.0.0.rst
96+
97+
1.5
98+
===
99+
.. toctree::
100+
:maxdepth: 1
101+
102+
prev_whats_new/whats_new_1.5.rst
103+
../api/prev_api_changes/api_changes_1.5.3.rst
104+
../api/prev_api_changes/api_changes_1.5.2.rst
105+
106+
1.4
107+
===
108+
.. toctree::
109+
:maxdepth: 1
110+
111+
prev_whats_new/whats_new_1.4.rst
112+
../api/prev_api_changes/api_changes_1.4.x.rst
113+
../api/prev_api_changes/api_changes_1.5.0.rst
114+
115+
1.3
116+
===
117+
.. toctree::
118+
:maxdepth: 1
119+
120+
prev_whats_new/whats_new_1.3.rst
121+
../api/prev_api_changes/api_changes_1.3.x.rst
122+
123+
1.2
124+
===
125+
.. toctree::
126+
:maxdepth: 1
127+
128+
prev_whats_new/whats_new_1.2.2.rst
129+
prev_whats_new/whats_new_1.2.rst
130+
../api/prev_api_changes/api_changes_1.2.x.rst
131+
132+
1.1
133+
===
134+
.. toctree::
135+
:maxdepth: 1
136+
137+
prev_whats_new/whats_new_1.1.rst
138+
../api/prev_api_changes/api_changes_1.1.x.rst
139+
140+
1.0
141+
===
142+
.. toctree::
143+
:maxdepth: 1
144+
145+
prev_whats_new/whats_new_1.0.rst
146+
147+
0.x
148+
===
149+
.. toctree::
150+
:maxdepth: 1
151+
152+
prev_whats_new/changelog.rst
153+
prev_whats_new/whats_new_0.99.rst
154+
../api/prev_api_changes/api_changes_0.99.x.rst
155+
../api/prev_api_changes/api_changes_0.99.rst
156+
prev_whats_new/whats_new_0.98.4.rst
157+
../api/prev_api_changes/api_changes_0.98.x.rst
158+
../api/prev_api_changes/api_changes_0.98.1.rst
159+
../api/prev_api_changes/api_changes_0.98.0.rst
160+
../api/prev_api_changes/api_changes_0.91.2.rst
161+
../api/prev_api_changes/api_changes_0.91.0.rst
162+
../api/prev_api_changes/api_changes_0.90.1.rst
163+
../api/prev_api_changes/api_changes_0.90.0.rst
164+
165+
../api/prev_api_changes/api_changes_0.87.7.rst
166+
../api/prev_api_changes/api_changes_0.86.rst
167+
../api/prev_api_changes/api_changes_0.85.rst
168+
../api/prev_api_changes/api_changes_0.84.rst
169+
../api/prev_api_changes/api_changes_0.83.rst
170+
../api/prev_api_changes/api_changes_0.82.rst
171+
../api/prev_api_changes/api_changes_0.81.rst
172+
../api/prev_api_changes/api_changes_0.80.rst
173+
174+
../api/prev_api_changes/api_changes_0.73.rst
175+
../api/prev_api_changes/api_changes_0.72.rst
176+
../api/prev_api_changes/api_changes_0.71.rst
177+
../api/prev_api_changes/api_changes_0.70.rst
178+
179+
../api/prev_api_changes/api_changes_0.65.1.rst
180+
../api/prev_api_changes/api_changes_0.65.rst
181+
../api/prev_api_changes/api_changes_0.63.rst
182+
../api/prev_api_changes/api_changes_0.61.rst
183+
../api/prev_api_changes/api_changes_0.60.rst
184+
185+
../api/prev_api_changes/api_changes_0.54.3.rst
186+
../api/prev_api_changes/api_changes_0.54.rst
187+
../api/prev_api_changes/api_changes_0.50.rst
188+
../api/prev_api_changes/api_changes_0.42.rst
189+
../api/prev_api_changes/api_changes_0.40.rst

doc/users/release_notes_next.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Next
2+
====
3+
.. toctree::
4+
:maxdepth: 1
5+
6+
next_whats_new
7+
../api/next_api_changes
8+
github_stats

doc/users/whats_new_old.rst

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)