sphinx-contrib / redoc

ReDoc powered OpenAPI (fka Swagger) spec renderer for Sphinx.
https://sphinxcontrib-redoc.readthedocs.io/
BSD 2-Clause "Simplified" License
33 stars 20 forks source link

possibility to config to use other reddoc.js #13

Closed maslovalex closed 6 years ago

maslovalex commented 6 years ago

It would be nice to be able to provide URL for the reddoc.js to be used. Plugin could use it to download script and put it instead of bundled reddoc.js into the _static.

It would give a possibility to update reddoc without updating this extension. (for example OpenAPI 3.0 supported only in RedDoc 2.x) and ATM some tricks are needed to be able to use this extension to render it.