I'm having a python-3 project that uses the plot-directive, but this currently not supported by ReadTheDocs. Therefore i want to generate and upload the documents as i would normally do with the PyPi repository, but use the -r
option to specify a different url.
I've tried the following, but it fails:
$ python3 setup.py build_sphinx register upload_docs -r https://readthedocs.org/pypi
running upload_docs
Using PyPI login from /home/user/.pypirc
Using upload directory /home/user/work/wltp.git/docs/_build/html
Submitting documentation to https://readthedocs.org/wltp/pypi
Upload failed (404): OK
I've also tried the following urls, but nothing worked:
- https://readthedocs.org/pypi/wltp
- https://readthedocs.org/pypi/wltp/latest
- https://readthedocs.org/wltp/pypi
- https://readthedocs.org/wltp/latest/pypi/
Is what i'm trying to achieve (in principle) possible?
Issue should now be fixed according to this issue.