18

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?

ankostis
  • 8,579
  • 3
  • 47
  • 61
  • 2
    This unresolved-yet RTD-issue for requesting this exact functionality has been scheduled for APIv2.1: https://github.com/rtfd/readthedocs.org/issues/1083 – ankostis May 04 '15 at 18:53
  • seems like that feature was dropped and still isn't supported. Too bad, I have the same problem due to the plot directive – Fred Schoen Nov 21 '16 at 20:53
  • I remember having (mis)used html_extra_path sphinx option to do that. – Stephane Martin Mar 12 '17 at 23:44

1 Answers1

1

Issue should now be fixed according to this issue.

Thomas Fauskanger
  • 2,536
  • 1
  • 27
  • 42