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

SSG (Static Site Generation) #47

Open
3 tasks
NullVoxPopuli opened this issue Mar 21, 2024 · 0 comments
Open
3 tasks

SSG (Static Site Generation) #47

NullVoxPopuli opened this issue Mar 21, 2024 · 0 comments

Comments

@NullVoxPopuli
Copy link
Contributor

NullVoxPopuli commented Mar 21, 2024

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:

  • 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

References

@NullVoxPopuli NullVoxPopuli pinned this issue Mar 21, 2024
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

1 participant