You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be possible, once migrated to Vite, to statically generate most of the docs for most pages.
The only exception is going to be when there is a live tag on a codefence AND that output code has interactivity (a, button, input, etc).
That bit will still require javascript, but most live codefences should even be able to be statically burned in to the page.
The Docfy approach -- except only during a production build and actually emit all the pages to hand off to a static renderer (vite-ssr?)
This would likely require being opt-in, because it is a tradeoff with the low-build time approach currently implemented
It should be possible, once migrated to Vite, to statically generate most of the docs for most pages.
The only exception is going to be when there is a
live
tag on a codefence AND that output code has interactivity (a
,button
,input
, etc).That bit will still require javascript, but most
live
codefences should even be able to be statically burned in to the page.Todos:
Alternatives / partial implementation:
This would likely require being opt-in, because it is a tradeoff with the low-build time approach currently implemented
References
The text was updated successfully, but these errors were encountered: