1
0
Fork 0
Commit graph

38 commits

Author SHA1 Message Date
joostdecock
3e2fafa647 chore: Updating SDE dependency list 2023-12-10 13:13:58 +01:00
joostdecock
8cb5ee9498 chore: Migrate to MDX 3 2023-10-30 17:46:39 +01:00
Joost De Cock
330dddde8b feat(shared): Fallback to en content of translatinon is not avalable 2023-10-20 14:18:30 +02:00
Joost De Cock
b8d68811db fix(markdown): Various changes required for the site
This applies a number of changes, typically in how inline MDX components
are handled, including properly naming things (replace pattern when what
we really mean is design) and other tweaks.
2023-10-10 15:43:25 +02:00
Joost De Cock
763190d721 chore(org): port new post to new mdx loader 2023-10-10 08:53:16 +02:00
Joost De Cock
c74e3f4b66 chore(org/lab): Clean up leftover static docs loading
Removing loading docs and passing them as static props to the workbench
since we now have proper support for loading mdx dynamically.
2023-10-09 18:13:47 +02:00
Joost De Cock
6ec273ffce chore: Remove lint 2023-10-09 17:18:31 +02:00
Joost De Cock
a0bcf01b47 chore: Remove lint 2023-10-09 13:47:36 +02:00
Joost De Cock
90afd3e28e feat(org): Switched to better dynamic mdx 2023-10-09 11:42:16 +02:00
Joost De Cock
86d984e8c5 wip(shared): Split new design pages per design to split bundle
This adds page templates that will auto-generate pages for each design.
This not only allows us to split the bundle for these individual
designs, we are also now passing the inline docs for a design as static
props, as that will limit the memory footprint of webpack.

Remains to be seen how this will all come together, but it's better than
throwing everything at webpack and watching the build fail.
2023-10-08 14:26:58 +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
joostdecock
5743dc4c2c chore: Linter warnings 2023-06-17 17:36:41 +02:00
joostdecock
0a9e71caf3 feat(shared): Re-implement MDX TOX. Closes #4129 2023-06-17 17:29:28 +02:00
joostdecock
c11a29e28a chore(shared): Fix linter warnings in sites/shared 2023-05-19 18:15:06 +02:00
joostdecock
ed1ac8a7a7 Merge branch 'develop' into joost 2023-05-16 08:49:35 +02:00
joostdecock
0b238c989e wip(shared): Switched to webpack loader for MDX 2023-05-15 15:57:46 +02:00
Joost De Cock
68d992f5d8 chore: Removed commented-out remark plugin 2023-04-17 20:07:03 +02:00
Joost De Cock
4cd2eff9a3 feat(shared): Add Mermaid support to MDX pipeline
At the request of @marpants this adds support for mermaid diagrams to
our shared MDX pipeline. Diagrams can be created by using a fenced code
block using the `mermaid` language.

I did not verify to what extend this bloats the bundle. Perhaps that's
something we need to look into later and consider the trade-off. For
now, my main concern is to keep a new contributor happy, so here it goes
:)
2023-04-17 19:58:33 +02:00
joostdecock
595417a23b feat(org): Ported components to mjs and named exports 2023-01-29 16:44:02 +01:00
Joost De Cock
88d8a9b27e fix(shared): Disable development for JSX runtime issue
As suggested by @benjamesben in #3301
This is the best/proper solution. My earlier fix was hackish.
2022-12-25 11:01:58 +01:00
joostdecock
aa5463301e feat(shared): Updated MDX components 2022-11-19 18:11:04 +01:00
Joost De Cock
1fae0bc3d8 feat(rehype-highlight-lines): Themeing and overflow fix 2022-10-12 18:34:34 +02:00
Joost De Cock
230dc17a45 fix(rehype-highlight-lines): Handle whitespace issues 2022-10-12 18:00:58 +02:00
Joost De Cock
af99d3e8c0 feat(markdown): Ported code howtos to v3 2022-10-12 14:42:45 +02:00
Joost De Cock
5ece45bcb6 feat(shared): Changes for code highlighting 2022-10-11 01:36:26 +02:00
Joost De Cock
62c728f191 fix(shared): Add caption to examples 2022-10-09 23:48:30 +02:00
Joost De Cock
e90212ca4d feat(shared): Changes to highlight component 2022-10-05 15:25:24 +02:00
Joost De Cock
f0e233513b wip(dev): More changes for v3 docs 2022-09-25 10:55:37 +02:00
joostdecock
9d31c37a0f fix(lab): import rehype-jargon from alias 2022-08-25 13:35:08 +02:00
joostdecock
3bc07b78a7 fix(lab): Import rehype-jargon from dist 2022-08-25 12:55:35 +02:00
Enoch Riese
640ee5f145 why were remark and rehype working before? 2022-07-20 14:23:25 -04:00
joostdecock
6671e86411 chore: Fixed linter warnings 2022-07-18 18:57:49 +02:00
joostdecock
406e38783e chore: More style tweaks for jargon 2022-07-18 18:50:34 +02:00
joostdecock
be70c5b424 wip: Work on new rehype-markdown plugin 2022-07-17 21:25:41 +02:00
Joost De Cock
43ee0f1790 chore: Adapt sites to recent changes 2022-06-17 12:02:09 +02:00