Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #1081: Fix PyPI Readme Rendering #1086

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

Ball-Man
Copy link
Contributor

@Ball-Man Ball-Man commented Jan 8, 2025

The readme renderer refuses to render scaled images (in this particular case, badges), as a result the skorch PyPi page is displayed as plain text. This is easily fixed by removing scaling from badges in the README. On top of that, Explicitly specifying RST content type for the long description solves a warning during rendering.
See #1081 for more info.

Scaling of these images is not supported by the readme_renderer used by the PyPI. See pypa/twine#1102 and pypa/readme_renderer#304.
text/x-rst for rst documents.
@githubnemo githubnemo merged commit ba99988 into skorch-dev:master Jan 8, 2025
16 checks passed
@githubnemo
Copy link
Collaborator

Great! Thanks for the changes :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants