I just noticed that there is some ancient version of documentation accessible directly at http://pypi.python.org/pypi/gensim (right at the top, under Package Documentation). I may have tested that feature when first trying PyPi, ages ago.
Now real documentation for my package is maintained elsewhere. I'd like to get rid of that PyPi link and that silly page. Is there a way?
So far, I managed to "re-upload" a zip file containing an empty index.html, through the PyPi package admin interface. I thought that would at least provide an empty page to users unfortunate enough to click on the PyPi documentation link. Any way to delete it completely?
Neither "upload nothing" nor "upload an empty zip" work, PyPi checks for a zip and it must contain an index.html file.
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}'s 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 zip it and go to http://pypi.python.org/pypi. Then login and go to your package's admin page. There you will find a button to upload the zipped documentation:
Pypi recently added an option to destroy the documentation.
Log into your package and there is now an option to Destroy Documentation
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With