Is it possible to upload sphinx pre-generated html documents into ReadTheDocs site?

883 views Asked by At

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:

Is what i'm trying to achieve (in principle) possible?

1

There are 1 answers

0
Thomas Fauskanger On

Issue should now be fixed according to this issue.