Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redoc 2 #9

Closed
Kobzol opened this issue Mar 21, 2018 · 6 comments
Closed

Redoc 2 #9

Kobzol opened this issue Mar 21, 2018 · 6 comments

Comments

@Kobzol
Copy link

Kobzol commented Mar 21, 2018

Redoc just released version 2 alpha with support for OpenAPI 3, is there any plan to support the newest Redoc? :-)

@ikalnytskyi
Copy link
Member

Sure thing! :) I'll work on this over weekend. Thanks for reporting, I didn't follow redoc releases for quite a time.

@ikalnytskyi
Copy link
Member

Well, I deployed alpha version to PyPI (sphinxcontrib-redoc == 2.0.0a1) so please feel free to give it a try. :) I decided to call it alpha, because ReDoc 2 is still in alpha.

@Kobzol
Copy link
Author

Kobzol commented Mar 24, 2018

Awesome! You're fast as lightning :-) It works for my version 3 spec. Now if only it worked for local files, but that's a separate issue :-) Thank you.

@Kobzol Kobzol closed this as completed Mar 24, 2018
@ikalnytskyi
Copy link
Member

Now if only it worked for local files, but that's a separate issue

What do you mean? I checked it with local v2 spec, everything seems working fine. No?

@Kobzol
Copy link
Author

Kobzol commented Mar 25, 2018

Redoc cannot load local files (protocol file:///), I have to serve the spec on a web server. I thought it's a known issue (Redocly/redoc#149).

@pohutukawa
Copy link

Actually, what #18 suggests has worked quite well for me. I'm not aware of any problems, yet, but just adding the following line in my conf.py has worked like a charm:

redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js'

Now it's rendering using the latest RC of ReDoc 2.0, even though I'm still using version 1.5.1 of the redoc extension ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants