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

Skip to content

Commit 3add366

Browse files
committed
DOC: change not to backup github stats + add glob toc
1 parent fa16e96 commit 3add366

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

doc/devel/release_guide.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ is currently broken::
5050
GitHub Stats
5151
------------
5252

53-
We automatically extract GitHub issue, PRs, and authors from GitHub via the API::
53+
54+
We automatically extract GitHub issue, PRs, and authors from GitHub via the API.
55+
copy the current :file:`github_stats.rst` to :file:`github_stats_X.Y.Z.rst`.
56+
57+
To re-generate the updated ::
5458

5559
python tools/github_stats.py --since-tag v2.2.0 --milestone=v3.0 --project 'matplotlib/matplotlib' --links > doc/users/github_stats.rst
5660

tools/github_stats.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,3 +227,16 @@ def report(issues, show_urls=False):
227227
print()
228228
print('Issues (%d):\n' % n_issues)
229229
report(issues, show_urls)
230+
print()
231+
print()
232+
print("""Previous GitHub Stats
233+
---------------------
234+
235+
236+
.. toctree::
237+
:maxdepth: 1
238+
:glob:
239+
240+
github_stats_*
241+
242+
""")

0 commit comments

Comments
 (0)