8000 Broken links on PyPi · Issue #317 · vit-project/vit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Broken links on PyPi #317

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

Closed
vEnhance opened this issue Nov 22, 2021 · 1 comment
Closed

Broken links on PyPi #317

vEnhance opened this issue Nov 22, 2021 · 1 comment

Comments

@vEnhance
Copy link

Describe the bug
All the *.md links on https://pypi.org/project/vit/ are broken.

To Reproduce
Click any link to an md file.

Expected behavior
USers should be redirected to this wiki (or elsewhere), but are given a 404 error instead.

@vEnhance vEnhance changed the title Broken links on PyPy Broken links on PyPi Nov 22, 2021
@thehunmonkgroup
Copy link
Member

This is a function of the difference between how Github handles the markdown for those links and PyPi handles the markdown.

On Github, the markdown is correctly translated into a link for the correct file on the correct branch.

PyPi has no such special treatment, and instead translates the markdown relative pypi.org.

I'm not really sure I want to fix this, as the fix would include hardcoding links to the current main branch of VIT, which would lose the work Github does to keep them current.

See https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes#relative-links-and-image-paths-in-readme-files

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

No branches or pull requests

2 participants
0