joostdecock
9f1fe751e8
wip(org): More changes for #5230
...
Also clears some of the old stuff for showcase/blog posts
2023-10-22 13:20:01 +02:00
Joost De Cock
82ae454baf
fix(org): Add missing namespace to page
2023-10-12 19:44:00 +02:00
Joost De Cock
8f9bb8189e
chore(org): Only add English to getStaticPaths
2023-10-09 18:23:41 +02:00
Joost De Cock
90afd3e28e
feat(org): Switched to better dynamic mdx
2023-10-09 11:42:16 +02:00
Joost De Cock
6a6e51e133
wip(shared): Restructuring mdx loader
2023-10-07 21:19:38 +02:00
Joost De Cock
7e5363bd33
wip(shared): Extract frontmatter in MDX loader
2023-10-07 20:21:54 +02:00
Joost De Cock
affc9b3744
wip(shared): Updated remark plugins, better intro handling
2023-10-07 09:33:23 +02:00
joostdecock
9b32d971a5
wip(shared): Taking MDX out of webpack bundle
2023-10-06 09:15:07 +02:00
Joost De Cock
a57993ea4f
feat(shared): Support for 2 different links in design picker. Closes #5060
2023-10-02 16:00:31 +02:00
joostdecock
f272187707
feat(markdown): Updated docs with new design info
2023-09-25 18:49:11 +02:00
joostdecock
2106a38154
feat(org): Bookmarks for docs
2023-09-04 11:01:08 +02:00
joostdecock
fc1ca11560
fix(org): Fix SSR config for docs
2023-08-28 08:43:00 +02:00
joostdecock
df4137d507
fix(org): SSR config
2023-08-28 07:54:31 +02:00
Joost De Cock
aebe311496
fix(org): Make all documentation available
2023-07-27 10:14:18 +02:00
joostdecock
8ea11d6abe
Merge branch 'eriese-mdx-posts' of github.com:eriese/freesewing into eriese-eriese-mdx-posts
2023-07-21 10:51:44 +02:00
Joost De Cock
a5f0e00936
chore(org): Remove use-navigation hook
2023-07-20 08:52:50 +02:00
Enoch Riese
b7fcd80cae
document #4507
2023-07-19 21:11:59 -06:00
Enoch Riese
5cb68f50de
deepscan fixes
2023-07-18 23:27:10 -06:00
Enoch Riese
36b28a8f93
lint fixes
2023-07-18 23:14:09 -06:00
Enoch Riese
9e1431d554
convert blog and showcase pages to dynamic mdx loading
2023-07-17 20:10:08 -05:00
Enoch Riese
49e085b271
lint fixes
2023-07-17 12:17:23 -05:00
Enoch Riese
8a4c558cee
more contained fixes to docs
2023-07-17 11:40:45 -05:00
joostdecock
5a9f2f8d40
wip(shared): Changes to layouts
...
This will break the org build, but we need to rip out sanity anyway so
I don't think it's worth obsessing over it now.
I've essentially changes the default layout and added a new navigation
component.
2023-07-15 16:55:22 +02:00
joostdecock
cfbdf7dac8
fix(org): Bring back table of contents
2023-06-17 17:49:58 +02:00
joostdecock
7da253b09d
fix(org): Names export, not default export
2023-05-21 20:09:16 +02:00
joostdecock
816dd973ac
fix(org): Outdated filename on import
2023-05-21 19:55:57 +02:00
joostdecock
ea8d540305
feat(org): Added sitemap
2023-05-21 09:58:59 +02:00
joostdecock
4a5b80afe4
chore(org): Linter fixes
2023-05-20 14:28:15 +02:00
joostdecock
e2bf337bb2
fix(org): 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 14:06:39 +02:00