-
-
Notifications
You must be signed in to change notification settings - Fork 527
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
Improve README #1114
Improve README #1114
Conversation
Looks like Github "sanitizes" all size hints: github/markup#295 That would be one argument for switching to markdown and simply using HTML for things like that. I'd really like the logo right aligned and smaller next to the First heading and with markdown that worked. Alternative in rst would be to keep a scaled copy and use that here. |
I'm fine with switching to markdown, as long as works with both pypi and github 👍 |
size is sanitized but you can use the raw directive - which is obviously much safer 🤣 |
Do you think raw will work on PyPi too? |
If there are no glaring errors left, I think we can merge this now. |
arg ... I don't know. Shall we try to find outor just switch to markdown? Thanks to pandoc it's no pain either way to switch formats. |
A quick search suggests that it doesn't: https://stackoverflow.com/a/49107899/2626627 Question is if PyPI supports pure HTML coming from a markdown document either - I'll try it out on the test instance.
|
raw directive is not supported for rst (readme-renderer also flags that).
|
o.k. I think markdown it is then and I'll update the release / check bit also now. |
The CI still fails... 🤔 |
Are we not checking the README with readme-renderer anymore? Can't find it, but might be packaged differently now. |
readme-renderer is now part of twine 👍 because of PEP-517. see pypa/twine#395 in the meantime just add it to the package readme tox deps section alongside twine the md extras |
It's happening, but I haven't figured out yet where. Haven't looked at how we do stuff now yet, so will check.readme-renderer need top be installed with |
cool but maybe without markdown check? I tried locally and still needed it pip install the md stuff. |
yep, that's the reason. Will check if there is an issue about this already. I guess we are not the only ones who want to do this and run into it. |
https://github.com/pypa/twine/blob/master/setup.py#L84 could be a twine bug 👍 they probably should forward the extras 👍
|
I just read a bit about it and am a bit confused about the state of markdown in readme-renderer, as apparently it can never fail, so this could mean its never checked but only fails when md extras are not installed. I'll add a dep in our tox env to install it extra but will get in touch with PyPA about how to solve this generally. |
installing readme-renderer[md] should not be necessaryLines 44 to 48 in 7f88569
This comment was generated by todo based on a
|
I asked about it on the list. If there is consensus about making markdown support the default it could be "fixed" in readme-renderer diretly by adding the dependency to the normal install_requires deps and everything else can go away: https://groups.google.com/forum/#!topic/pypa-dev/BevObZsKVOQ
|
restart with a fresh addressing suggestions from previous PR
re-opening. Based on botched up #1079
see #819
preview: https://github.com/tox-dev/tox/tree/819-improve-readme