Commit graph

250 commits

Author SHA1 Message Date
Sébastien Lorber
37184e581d
fix(theme): Footer Column/Link should merge provided className (#10796) 2024-12-26 12:46:43 +01:00
Sébastien Lorber
f196a1eb29
fix(core): fix React hydration errors, change html minifier settings (#10786) 2024-12-23 18:45:31 +01:00
William Black
2565601af3
fix(theme-common): code block magic comments should support SQL block comments (#10782) 2024-12-20 17:16:59 +01:00
Sébastien Lorber
f9825af43e
refactor: prepare types for React 19 (#10746) 2024-12-06 18:03:04 +01:00
Sébastien Lorber
750edc78ff
refactor(theme-common): change storageUtils useSyncExternalCode getSnapshot workaround (#10728) 2024-11-29 16:50:10 +01:00
Sébastien Lorber
95e2d469e3
chore: Rename Twitter links/labels to X (#10509) 2024-09-19 11:30:57 +02:00
ozaki
aa65f39d8c
fix(blog): authors count incorrectly rendered (#10431)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-08-23 14:07:49 +02:00
Christian Stangerup
a1edf51003
fix(translations): change casing of some en labels (#10394)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-08-13 13:59:05 +02:00
Sébastien Lorber
221ced7242
fix(theme-common): restore useContextualSearchFilters public API for retrocompatibility (#10397) 2024-08-13 13:30:45 +02:00
ozaki
95ab9f8ee4
feat(theme): show unlisted/draft banners in dev mode (#10376)
Co-authored-by: OzakIOne <OzakIOne@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-08-08 20:48:42 +02:00
ozaki
f356e29938
feat(blog): authors page (#10216)
Co-authored-by: OzakIOne <OzakIOne@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
Co-authored-by: slorber <slorber@users.noreply.github.com>
2024-08-01 17:30:49 +02:00
Sébastien Lorber
026a317fc4
refactor(docs): theme-common shouldn't depend on docs content (#10316) 2024-07-23 10:50:07 +02:00
Sébastien Lorber
61d6858864
refactor(blog): theme-common shouldn't depend on blog content plugins (#10313) 2024-07-19 15:55:35 +02:00
Alice Zhao
aab1f4868b
feat(blog): group sidebar items by year (themeConfig.blog.sidebar.groupByYear) (#10252)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-06-28 16:59:35 +02:00
Sébastien Lorber
ef627f813b
fix(theme): fix announcement bar layout shift due to missing storage key namespace (#10144) 2024-05-16 18:14:34 +02:00
Sébastien Lorber
620e46350a
feat(core): site storage config options (experimental) (#10121) 2024-05-10 14:41:51 +02:00
ozaki
d1590e37ac
feat(pages): add LastUpdateAuthor & LastUpdateTime & editUrl (#10032)
Co-authored-by: OzakIOne <OzakIOne@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-04-16 11:23:00 +02:00
Sébastien Lorber
964a4e458e
refactor(website): refactor showcase components (#10023) 2024-04-10 10:42:27 +02:00
Sébastien Lorber
465cf4d82c
refactor(docs,blog): last update timestamp should be in milliseconds instead of seconds (#9963) 2024-03-19 09:51:27 +01:00
ozaki
c745021b01
feat(blog): add LastUpdateAuthor & LastUpdateTime (#9912)
Co-authored-by: OzakIOne <OzakIOne@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-03-15 12:50:06 +01:00
ozaki
0279c329ad
refactor(theme): dates should be formatted on the client-side instead of in nodejs code (#9868)
Co-authored-by: OzakIOne <OzakIOne@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-02-23 18:30:05 +01:00
John Reilly
60d9346965
refactor(theme): use JSON-LD instead of microdata for blog structured data (#9669)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-02-15 16:25:21 +01:00
Tatsunori Uchino
d75f99f9a6
fix(theme-common): fix missing code block MagicComments style in Visual Basic (.NET) 16 (#9727) 2024-01-12 21:13:24 +01:00
Sébastien Lorber
4388267c26
fix(core): various broken anchor link fixes (#9732) 2024-01-12 16:09:45 +01:00
Tatsunori Uchino
bd7d64f455
feat(theme-common): code block MagicComments support for (Visual) Basic/Batch/Fortran/COBOL/ML (#9671) 2023-12-27 23:02:48 +01:00
Janessa Garrow
209b035399
refactor(theme-common): allow optional desktopBreakpoint param in useWindowSize (#9335)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-12-01 17:40:27 +01:00
Sébastien Lorber
e68ef88336
fix(theme): docs html sidebar items should always be visible (#9531) 2023-11-10 18:12:55 +01:00
Sébastien Lorber
8d19054d91
fix(theme): fix useWindowSize React hydration issue (#9446) 2023-10-25 18:18:15 +02:00
Chongyi Zheng
dceaae41d7
chore: upgrade syntax highlighting dependencies, prism-react-renderer to v2, react-live to v4 (#9316)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-10-06 19:15:14 +02:00
Sébastien Lorber
58be496da2
feat(theme-mermaid): upgrade Mermaid to v10.4 - handle async rendering (#9305) 2023-09-14 17:23:07 +02:00
Sébastien Lorber
97d5dd094d
fix(theme-common): remove useless useSyncExternalStore shim (#9276) 2023-09-04 16:21:59 +02:00
Sébastien Lorber
ca352686dc
fix(theme-common): ThemedComponent should display something when JS is disabled (#9243) 2023-08-18 17:11:52 +02:00
Ori Shalom
4ea0a70f93
fix(theme): canonical url should be not change after hydration if url accessed with/without trailing slash (#9130)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-07-21 19:22:26 +02:00
Sébastien Lorber
187e5aa218
feat: React 18 + automatic JSX runtime + build --dev (#8961) 2023-06-08 19:40:15 +02:00
JJ Style
30a4181290
feat(theme-common): code block MagicComments support for TeX/LaTeX/Matlab (#8982)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2023-05-30 15:28:28 +02:00
Sébastien Lorber
905fe7f4b4
fix(theme): fix collapsible sidebar behavior when prefers-reduced-motion (#8971) 2023-05-12 12:18:34 +02:00
Sébastien Lorber
bf913aea2a
feat: upgrade to MDX v2 (#8288)
Co-authored-by: Armano <armano2@users.noreply.github.com>
2023-04-21 19:48:57 +02:00
Sébastien Lorber
d220f481a7
fix(theme): add __ prefix to technical anchors, search crawlers (Algolia) should ignore them (#8909) 2023-04-20 16:39:50 +02:00
Sébastien Lorber
f154b2f870
fix(theme-common): fix collapsible component with prefers-reduced-motion (#8906) 2023-04-19 19:07:31 +02:00
Tarun Chauhan
b169404efd
feat(theme-common): code block MagicComments support for Lua/Haskell -- and WebAssembly ;; (#8870)
Co-authored-by: Tarun Chauhan <tarun.chauhan@tripjack.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2023-04-14 12:01:28 +02:00
Sébastien Lorber
08cfe4e3c9
fix(theme-common): fix confusing theme error message: bad sidebar id suggestions (#8873) 2023-04-13 16:41:29 +02:00
Sébastien Lorber
f76fc1bfac
feat(theme): create more generic ThemedComponent util from ThemedImage (#8890) 2023-04-13 16:29:02 +02:00
Joshua Chen
3a73fdb53f
fix(theme): allow tabs children to be falsy (#8801) 2023-03-22 19:15:43 +01:00
Sébastien Lorber
2f75979bc5
fix(search): search page should react to querystring changes + cleanup/refactor (#8757) 2023-03-10 19:13:58 +01:00
Tanner Dolby
ea2b13ea94
polish(theme): better error messages on navbar item rendering failures + ErrorCauseBoundary API (#8735)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-03-09 18:56:21 +01:00
Tanner Dolby
7961c5b8d5
polish(core): better styling for error screens (#8736)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-03-09 16:13:19 +01:00
Sébastien Lorber
f8edeb0816
feat(theme-classic): respect prefers-reduced-motion: reduce mediaquery, bump Infima to alpha.43 (#8674) 2023-02-17 13:03:38 +01:00
Moritz Stückler
533777cf2b
feat(theme-common): allow passing a string for details summary (#8656)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2023-02-16 16:14:09 +01:00
Sébastien Lorber
50d6d1e56b
fix(theme-common): fix issue in tab scroll position restoration on tab click (#8628) 2023-02-03 12:48:58 +01:00
Sébastien Lorber
5b05c0e73e
fix(theme-common): localStorage utils dispatch too many storage events leading to infinite loop (#8619) 2023-02-02 15:39:40 +01:00