1
0
Fork 0
Commit graph

15 commits

Author SHA1 Message Date
joostdecock
2472ab1824 feat(shared): Add dynamic OG images 2023-11-03 15:36:09 +01:00
Joost De Cock
46bce8c63a fix(dev): Add missing namespace 2023-10-17 08:14:15 +02:00
Joost De Cock
a7be257e0f feat(dev): Ported to new mdx loader 2023-10-09 12:29:03 +02:00
joostdecock
32d6e938df wip: Rewrite tutorial for v3 2023-09-28 09:11:06 +02:00
Joost De Cock
78fa37869e chore(shared/dev): Remove use-navigation hook 2023-07-20 08:42:56 +02:00
Joost De Cock
dc05143840 feat(sites): Overhauled prebuild system 2023-07-19 19:08:41 +02:00
joostdecock
3df7367fc7 chore: Linter warnings 2023-07-16 07:27:51 +02:00
joostdecock
b5303e0e63 chore(dev): Use shared layout components for pages 2023-07-15 17:10:28 +02:00
joostdecock
3a5a00fcfe chore(dev): Updated docs page layout 2023-07-15 10:38:10 +02:00
joostdecock
0a8dd5f111 feat(dev/shared): Ported PrevNext component to new nav structure 2023-07-14 09:23:37 +02:00
joostdecock
dce1f6a608 chore: Tweaks to MDX metadata display 2023-07-13 21:15:25 +02:00
joostdecock
0a9e71caf3 feat(shared): Re-implement MDX TOX. Closes #4129 2023-06-17 17:29:28 +02:00
joostdecock
8dff0b8f1b chore(dev): Changed to prebuild and ReadMore 2023-05-21 09:41:20 +02:00
joostdecock
da8d139d90 wip(sites): Prebuild tweaks 2023-05-20 16:56:51 +02:00
joostdecock
a4f192e090 fix(dev): Load MDX dynamically to reduce the number of routes
Prior to this commit we'd generate a page for each MDX document as that
avoids having to load MDX dynamically (which can be tricky) or through
static props (which causes issues with serialization).

However, Vercel (which hosts for us) has an upper limit on the number of
routes, and because of this extensive documentation, we blew passed it
with this approach.

This changes to a dynamic resolution of MDX content with an async import
in the useEffect hook. This should drastically reduce the number of
routes and make Vercel happy.

I didn't do much digging into the effects of this on SSR. If it turns
out it's causes issues, we'll deal with it at that time.
2023-05-20 13:22:36 +02:00