-
Notifications
You must be signed in to change notification settings - Fork 995
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
Add ability to configure a redirect for documentation previously hosted by PyPI #3417
Comments
I'd like to have the redirect, too, so older links to the documentation of a package do not get broken without the possibility to tell where the documentation is hosted nowadays. |
I asked Eric Holscher @ericholscher for his comments:
|
pypi/conveyor#3 implements the necessary infrastructure to support this. It reads/parses a redirects.txt from the root of the bucket which contains a \n joined set of JSON redirect configurations:
To implement this feature in Warehouse we will need to create a form that allows users with documentation hosted on pythonhosted.org to specify the above parameters and store it in the warehouse db. A warehouse task should periodically generate and publish the full |
We talked about this today & would love help from a volunteer on this! So: please go ahead and grab this issue! Just comment and say that you're starting to work on it, and link in a comment to your work-in-progress branch once you start. As always, if you have questions along the way as you work on this, please feel free to ask them here, in |
I'm sorry to highjack this thread but I'm going crazy trying to manually add a redirect on our old docs (https://pythonhosted.org/PuLP/) to our new documentation (http://coin-or.github.io/pulp/) following this stackoverflow's instructions but I can't for the life of me find any option in all of pypi to upload or delete the documentation. I'm maintainer in the Am I supposed to be owner of the project to see this option? Has it been taken down? Is there anyway to update the current documentation in pypi to manually add a simple redirect? What are our current alternatives to redirect people from one site to the other? Thanks! Franco |
@pchtsp the feature has not yet been implemented in warehouse. conveyor, which serves pythonhosted.org still has support for the protocol described in #3417 (comment) if/when it is implemented. |
@ewdurbin thanks for the answer. So, if I understood correctly, our current alternatives are Unless / until the functionality is added to the pypi site, there is no way of modifyig the current version of the docs that are hosted in pythonhosted. Is this accurate? Thanks again! |
That is correct @pchtsp. |
#582 was closed by #3413, but only completes one half of the work.
we still should provide the ability for users to configure a redirect from
files.pythonhosted.org/<project.name>
to some new URL.The text was updated successfully, but these errors were encountered: