Ho un progetto python-3 che utilizza lo , ma attualmente non è supportato da ReadTheDocs. Quindi voglio generare e caricare i documenti come farei normalmente con il repository PyPi, ma usare l'opzione -r
per specificare un URL diverso.È possibile caricare documenti html pre-generati con sfinge nel sito ReadTheDocs?
Ho provato quanto segue, ma viene a mancare:
$ 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
Ho anche provato i seguenti URL, ma niente ha funzionato:
- https://readthedocs.org/pypi/wltp
- https://readthedocs.org/pypi/wltp/latest
- https://readthedocs.org/wltp/pypi
- https://readthedocs.org/wltp/latest/pypi/
È ciò che sto cercando di ottenere (in linea di principio) possibile?
Questo problema irrisolto, ma ancora RTD, per richiedere questa funzionalità esatta è stato programmato per APIv2.1: https://github.com/rtfd/readthedocs.org/issues/1083 – ankostis
sembra che la funzione sia stata eliminata e non sia ancora disponibile supportato Peccato, ho lo stesso problema a causa della direttiva plot –
Ricordo di aver (mal) usato l'opzione sphinx html_extra_path per farlo. –