Closed mikebronner closed 2 years ago
Hi @JustSteveKing -- it looks like I answered all my own questions after researching things this afternoon. Feel free to use what I found to update the documentation -- I think it might benefit people like me, who come from Laravel without knowing how ReDoc works. :)
Hi @JustSteveKing, we have successfully implemented our OpenAPI spec file now, and I have a few questions that I'm not sure how to address, if you don't mind?
Is there a way to customize the theme, say add a logo, customize colors, etc?The search functionality doesn't seem to be working, as the search field doesn't show even if I change the config setting.Long examples don't seem to wrap nicely, and get obscured behind the right sidebar. This may be addressable by editing the theme, per question # 1.is automatic doc generation something that might be on the roadmap? Not required, just curios.I really like you package, as it lets me create my docs using the spotlight.io GUI, and push them to my repo, and your package automatically renders it. Sweetness right there. :)
Thanks again for you time.
PS: Here's our work in progress: https://mike-b.totalitylms.com/api/docs
Updates
For things I have found answers to in the meantime, noting these here as these might help others out.
php artisan vendor:publish --provider="JustSteveKing\Laravel\LaravelRedoc\RedocServiceProvider"
doc.blade.php
view. It is important to note that the theme attribute must be in single-quotes, so that the json it contains uses double-quotes, otherwise it won't render.