The documentation takes irredeemably long to build because Vitepress is really sub-optimal at bundling with two-slash for some reason. While this issue can be triaged itself, I noticed that Effect.ts's documentation website does not suffer this same issue when pre-rendering its markdown through Next.js. Furthermore, By using a more efficient markdown (pre) rendering strategy, documentation can actually be made for other frameworks. (Currently, I'm actually unable to create anymore documentation pages with two-slash because I'm hitting memory limits during the build...)
Solution
Pre-render the documentation with SvelteKit. Refer to effect.ts and shadcn-svelte for examples of pre-rendering markdown with relevant plugins.
Project
While re-working the documentation, I should also address all open issues regarding documentation.
Problem
The documentation takes irredeemably long to build because Vitepress is really sub-optimal at bundling with two-slash for some reason. While this issue can be triaged itself, I noticed that Effect.ts's documentation website does not suffer this same issue when pre-rendering its markdown through Next.js. Furthermore, By using a more efficient markdown (pre) rendering strategy, documentation can actually be made for other frameworks. (Currently, I'm actually unable to create anymore documentation pages with two-slash because I'm hitting memory limits during the build...)
Solution
Pre-render the documentation with SvelteKit. Refer to effect.ts and shadcn-svelte for examples of pre-rendering markdown with relevant plugins.
Project
While re-working the documentation, I should also address all open issues regarding documentation.
52
54
55