-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Fixing README.rst to render correctly on PyPI. #434
Conversation
I'm not 100% this will work so a PyPI maintainer should upload the new RST via: |
Here is how I test the renderings:
Warnings show up in nice, hard-to-ignore dropshadow boxes. |
My example assumed that we were setting the
It could include
Doing it that way avoids the need to upload a file: it gets done during the |
BTW, the following::
shows that the error preventing rendring on PyPI is the inclusion of the |
Great! Thanks for that. I googled around for RST validators and had no luck. Will fix the Sphinx parts and ping again. |
Main changes: - Using named links instead of anonymous - Using an absolute instead of project relative link for CONTRIBUTING - Changing duplicated link text so that they differ - Lining up :target: with the line above for embedded img's H/T to https://github.com/coagulant/coveralls-python/blob/master/README.rst for guidance.
76ce9e6
to
48249e1
Compare
as compared to using just the
I think the more likely culprit was the relative link to |
@tseaver I finally got access to the PyPI project and played around (a bit of binary search) until it rendered. It turns out the remaining issue was the final relative link You can check out https://pypi.python.org/pypi/gcloud now and it renders perfectly. |
@tseaver PTAL Is it safe to set
Also, in doing this, |
Should be fine to update |
LGTM |
Fixing README.rst to render correctly on PyPI.
Source-Link: googleapis/synthtool@703554a Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:94961fdc5c9ca6d13530a6a414a49d2f607203168215d074cdb0a1df9ec31c0b
Source-Link: googleapis/synthtool@703554a Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:94961fdc5c9ca6d13530a6a414a49d2f607203168215d074cdb0a1df9ec31c0b
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Source-Link: https://togithub.com/googleapis/synthtool/commit/26c7505b2f76981ec1707b851e1595c8c06e90fc Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:f946c75373c2b0040e8e318c5e85d0cf46bc6e61d0a01f3ef94d8de974ac6790
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <[email protected]>
* feat: add prebuilt telecom webhook python sample code and test * feat:add test * fix:lint errors * fix:add new line at the end of file * fix: add more comprehensive tests * fix: pylint * feat:change helper function and address comments * fix: pylint Co-authored-by: nicain <[email protected]> Co-authored-by: Anthonios Partheniou <[email protected]>
* chore: update Java and Python dependencies PiperOrigin-RevId: 408420890 Source-Link: googleapis/googleapis@2921f9f Source-Link: googleapis/googleapis-gen@6598ca8 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjU5OGNhOGNiYmY1MjI2NzMzYTA5OWM0NTA2NTE4YTVhZjZmZjc0YyJ9 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 472772457 Source-Link: googleapis/googleapis@855b74d Source-Link: googleapis/googleapis-gen@b64b1e7 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjY0YjFlN2RhM2UxMzhmMTVjYTM2MTU1MmVmMDU0NWU1NDg5MWI0ZiJ9
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Source-Link: googleapis/synthtool@703554a Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:94961fdc5c9ca6d13530a6a414a49d2f607203168215d074cdb0a1df9ec31c0b
Main changes:
CONTRIBUTING
:target:
with the line above for embedded img'sH/T to
https://github.com/coagulant/coveralls-python/blob/master/README.rst
for guidance.