How to remove documentation from PyPi

I just noticed that there is some ancient version of the documentation available directly at http://pypi.python.org/pypi/gensim (top right, under Package Documentation ). Perhaps I tested this feature the first time I tried PyPi, a long time ago.

Now the real documentation for my package is supported elsewhere. I would like to get rid of this PyPi link and this stupid page. Is there any way?


So far, I have been able to β€œreload” the zip file containing the empty index.html through the PyPi package administration interface. I thought it would at least provide a blank page for users, unfortunately by clicking on the PyPi link. Any way to remove it completely?

Do not download anything or download a blank mailer, PyPi checks the zip and should contain the index.html file.

+8
python pypi
source share
2 answers

Just create a new index.html file with a link to the new documentation or even a redirect:

 <html> <head> <title>A web page that points a browser to a different page after 2 seconds</title> <meta http-equiv="refresh" content="2; URL=http://www.example.com"> <meta name="keywords" content="automatic redirection"> </head> <body> {PACKAGE_NAME} documentation is maintained elsewhere. You will be redirected to the new documentation within 2 seconds. If the browser does not automatically redirect you, you may want to go to <a href="http://www.example.com">the destination</a> manually. </body> </html> 

Now pin it and go to http://pypi.python.org/pypi . Then log in and go to the administration page of your package. There you will find a button for downloading archived documentation:

enter image description here

+10
source share

Pypi recently added the ability to destroy documentation.

Log in to your package and there is now the option of Destroy Documentation .

enter image description here

+4
source share

All Articles