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

Support proper Server Side Rendering #42

Closed
rohit-gohri opened this issue May 14, 2021 · 4 comments · Fixed by #44 or #87
Closed

Support proper Server Side Rendering #42

rohit-gohri opened this issue May 14, 2021 · 4 comments · Fixed by #44 or #87
Assignees
Labels
builds enhancement New feature or request
Milestone

Comments

@rohit-gohri
Copy link
Owner

Currently the server build only has a loading spinner. Checkout how redoc-cli generates server build: https://github.com/Redocly/redoc/tree/master/cli and see if it can be supported here.

@rohit-gohri rohit-gohri added enhancement New feature or request builds labels May 14, 2021
@rohit-gohri rohit-gohri self-assigned this May 14, 2021
@rohit-gohri
Copy link
Owner Author

This might be currently blocked by facebook/docusaurus#3236

@monken
Copy link

monken commented Sep 16, 2021

Thanks for this! It works great except that it doesn't seem to include any stylesheets. When I disable JavaScript in the browser, the documentation doesn't render properly, and causes a flicker because the CSS eventually loads through JavaScript (I assume).

@rohit-gohri
Copy link
Owner Author

rohit-gohri commented Sep 17, 2021

@monken Did you also add this: #88 (comment) to the theme/Root component?

(I'm still working on the docs)

@monken
Copy link

monken commented Sep 17, 2021

This it it! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builds enhancement New feature or request
Projects
None yet
2 participants