Skip to content

Commit f271745

Browse files
committed
Save release charts to _static
1 parent 60d4439 commit f271745

File tree

6 files changed

+10
-14
lines changed

6 files changed

+10
-14
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,5 @@ celerybeat-schedule
9090
# Generated CSV and SVG files
9191
include/branches.csv
9292
include/end-of-life.csv
93-
include/release-cycle.svg
94-
include/release-cycle-all.svg
93+
_static/release-cycle.svg
94+
_static/release-cycle-all.svg

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ REQUIREMENTS = requirements.txt
2222
_ALL_SPHINX_OPTS = --jobs $(JOBS) $(SPHINXOPTS)
2323
_RELEASE_CYCLE = include/branches.csv \
2424
include/end-of-life.csv \
25-
include/release-cycle-all.svg \
26-
include/release-cycle.svg
25+
_static/release-cycle-all.svg \
26+
_static/release-cycle.svg
2727

2828
.PHONY: help
2929
help:

_tools/generate_release_cycle.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,10 @@ def main() -> None:
198198
versions = Versions()
199199
assert len(versions.versions) > 10
200200
versions.write_csv()
201-
versions.write_svg(args.today, "include/release-cycle-all.svg")
201+
versions.write_svg(args.today, "_static/release-cycle-all.svg")
202202

203203
versions = Versions(limit_to_active=True, special_py27=True)
204-
versions.write_svg(args.today, "include/release-cycle.svg")
204+
versions.write_svg(args.today, "_static/release-cycle.svg")
205205

206206

207207
if __name__ == "__main__":

conf.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@
3737
"source_branch": "main",
3838
}
3939
html_static_path = ['_static']
40-
html_extra_path = [
41-
'include/release-cycle.svg',
42-
'include/release-cycle-all.svg',
43-
]
4440
html_css_files = [
4541
'devguide_overrides.css',
4642
]

make.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ if ($target -Eq "clean") {
6565
$BUILDDIR,
6666
$_VENV_DIR,
6767
"include/branches.csv", "include/end-of-life.csv",
68-
"include/release-cycle.svg", "include/release-cycle-all.svg"
68+
"_static/release-cycle.svg", "_static/release-cycle-all.svg"
6969
)
7070
foreach ($item in $ToClean) {
7171
if (Test-Path -Path $item) {

versions.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ version can be found on the `download page <https://www.python.org/downloads/>`_
1111

1212

1313
.. raw:: html
14-
:file: include/release-cycle.svg
14+
:file: _static/release-cycle.svg
1515

1616
(See :ref:`below <full-chart>` for a chart with older versions.
1717
Another useful visualization is `endoflife.date/python <https://endoflife.date/python>`_.)
@@ -36,7 +36,7 @@ Unsupported versions
3636
.. csv-table::
3737
:header-rows: 1
3838
:width: 100%
39-
:file: include/end-of-life.csv
39+
:file: _static/end-of-life.csv
4040

4141

4242
.. _full-chart:
@@ -45,7 +45,7 @@ Full chart
4545
==========
4646

4747
.. raw:: html
48-
:file: include/release-cycle-all.svg
48+
:file: _static/release-cycle-all.svg
4949

5050

5151
Status key

0 commit comments

Comments
 (0)