Skip to content

docs(readme): show the pipeline figure on PyPI - #1688

Open
dimitri-yatsenko wants to merge 2 commits into
masterfrom
docs/readme-pipeline-image-url
Open

dimitri-yatsenko wants to merge 2 commits into
masterfrom
docs/readme-pipeline-image-url

Conversation

@dimitri-yatsenko

Copy link
Copy Markdown
Member

The pipeline figure in the README is broken on PyPI (for example https://pypi.org/project/datajoint/2.3.6/). The README embeds it as images/pipeline.svg, a path relative to the repository. GitHub resolves it, but PyPI renders only the README text and has nothing to resolve it against.

This links the figure by its absolute URL on master, https://github.com/raw/datajoint/datajoint-python/master/images/pipeline.svg, which GitHub serves as image/svg+xml. It was the only relative link in the README.

A PyPI page cannot change after upload, so 2.3.5 and 2.3.6 keep the broken image; the fix shows from the next release on. Since the URL points at master, PyPI pages of later releases show the current figure rather than the one at their tag.

PyPI renders the README without the repository, so the relative path
images/pipeline.svg did not resolve there.

This branch has not been deployed

No deployments
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.

1 participant