Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Make release cycle charts reusable#1708

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
hugovk wants to merge6 commits intopython:main
base:main
Choose a base branch
Loading
fromhugovk:standalone-svg

Conversation

@hugovk
Copy link
Member

@hugovkhugovk commentedNov 29, 2025
edited
Loading

Right now, the release cycle SVGs are monochrome when viewed as standalone images:

image

This is because all the colours are defined in the website's own.css file.

This PR moves the colours into the SVG files themselves, except for the theme-aware overrides using things like--color-foreground-primary from Furo, needed for dark/light mode support.

Also serve these images, so we can display them onhttps://www.python.org/downloads/ where our end users visit, and not just in the CPython developer's guide. Re:https://endoflife.date/recommendations#bad---python

Needed for PR:pythondotorg#2837


📚 Documentation preview 📚:https://cpython-devguide--1708.org.readthedocs.build/

conf.py Outdated
Comment on lines 40 to 43
html_extra_path= [
'include/release-cycle.svg',
'include/release-cycle-all.svg',
]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Why is this needed? Semantically, I think we should prefer static path to extra path:https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_extra_path

A list of paths that contain extra files not directly related to the documentation

A

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Why is this needed?

So that they're served athttps://devguide.python.org/release-cycle.svg

Semantically, I think we should prefer static path to extra path:sphinx-doc.org/en/master/usage/configuration.html#confval-html_extra_path

A list of paths that contain extra files not directly related to the documentation

A

Okay, so have the generate script save them to _static, and have them served athttps://devguide.python.org/_static/release-cycle.svg ?

I've pushed a commit for this.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@AA-TurnerAA-TurnerAA-Turner left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@hugovk@AA-Turner

[8]ページ先頭

©2009-2025 Movatter.jp