Commit Graph

2596 Commits

Author SHA1 Message Date
Thad Guidry 2a96ec01de
polish(create-docusaurus): add comment in config to mention different ways to declare config + doc link (#8944)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2023-05-03 18:36:29 +02:00
MetuMortis 090316e66d
fix(theme-translations): fix Turkish translation for aria label "Enter key" (#8933) 2023-04-29 19:28:34 +02:00
Joshua Chen 9e0b62fe6c
fix(utils): make Markdown link replacement much more rigorous (#8927) 2023-04-27 17:57:11 +02:00
Joshua Chen 1279765f75
chore: upgrade TypeScript to v5.0 (#8926) 2023-04-25 03:10:16 -04: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
Will Ceolin 10f161d578
feat(theme): add queryString option to localeDropdown (#8915)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2023-04-21 12:35:02 +02:00
Andrew Lyons 41a52161fd
fix(core): Correct yarn upgrade command for yarn 2.x (#8908)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-04-20 16:54:04 +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
Aleksandr Vladykin 2b994262b0
fix(utils): handle Markdown links with spaces to route correctly (#8874) 2023-04-12 19:14:26 +02:00
Sébastien Lorber a9a5f89b9f
fix(core): better error logging on SSR/dev failures + log stacktraces and error causes (#8872) 2023-04-07 19:00:59 +02:00
Armano 1d42955d67
refactor(theme): expose copy, success and word-wrap icons as standalone components (#8862) 2023-04-06 15:46:52 +02:00
Tarun Chauhan 59a0b7ae15
fix(theme-translations): remove redundant navigation text in aria label (#8842)
Co-authored-by: Tarun Chauhan <tarun.chauhan@tripjack.com>
2023-04-06 15:05:43 +02:00
Sachin Nanayakkara be0ac6c2cd
fix(create): add missing await (#8831) 2023-03-28 12:28:34 -04:00
Vishruta Patil a51ec623df
fix(theme): codeblock buttons should be kept on the right when using RTL locale (#8803)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-03-22 19:59:59 +01:00
Joshua Chen 3a73fdb53f
fix(theme): allow tabs children to be falsy (#8801) 2023-03-22 19:15:43 +01:00
biplavmz 49b1795c8a
polish(create-docusaurus): the starter template should use a navbar item "docSidebar" instead of "doc" (less fragile on updates) (#8712)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-03-16 17:18:42 +01:00
Davide Donadio 5c271f5622
feat(content-docs): add support for sidebar item category/link descriptions in generated index page (#8236)
Co-authored-by: Davide Donadio <davide.donadio@it.clara.net>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-03-16 10:14:42 +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
Joshua Chen e21591c073
chore: upgrade dependencies (non-major) (#8749)
chore: upgrade dependencies
2023-03-08 21:28:14 -05:00
Sébastien Lorber 4f790c705f
fix(core): baseUrl error banner link anchor case (#8746) 2023-03-08 19:21:22 +01:00
Anas 1a6879218d
fix(theme-translations): fix wrong arabic words (tip/next) (#8744) 2023-03-08 18:40:18 +01:00
Sébastien Lorber 0f7552accb
feat(theme): allow to load a Docusaurus page with theme from query-string: ?docusaurus-theme=dark (#8708) 2023-03-03 12:54:35 +01:00
Armano fabf053def
feat(npm-to-yarn): add support for PnPm and custom converters (#8690)
Co-authored-by: Ben Gubler <nebrelbug@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-02-24 17:59:15 +01:00
Sébastien Lorber 17781fd5d3
feat(core): add script env variables: NODE_ENV + BABEL_ENV + DOCUSAURUS_CURRENT_LOCALE (temporary i18n workaround) (#8677) 2023-02-24 14:19:39 +01:00
Dewansh Thakur fd021bdf47
fix(theme): improve color toggle when using dark navbar (#8615)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-02-23 19:24:03 +01:00
Kagan 1293970ebf
fix(theme-classic): fix tab focus bug in dropdown (#8697) (#8699)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-02-23 16:56:06 +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
Oleksandr Fediashov d98edcd95c
chore: bump update-notifier (#8660)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
Fixes https://github.com/facebook/docusaurus/issues/8277
2023-02-17 11:18:15 +01:00
TrueQAP 1b9e2f2d45
feat(theme-translations): add Hungarian theme translations (#8668)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2023-02-16 17:15:34 +01:00
Mysterious_Dev 10a8d1264b
feat(theme): add ability to translate navbar+footer logo alt text (#8616)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-02-16 17:14:45 +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
Petter Drønnen f40ac082ef
feat(theme-translations): add Norwegian (Bokmål) theme translation (#8631) 2023-02-15 20:00:55 +01:00
Mysterious_Dev 6b618bc9e5
docs: normalize README for ideal-image plugin (#8630) 2023-02-08 01:05:14 -05: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 32384b761c
feat(gtag-plugin): gtag should support multiple tracking ids, notably for the UA => GA4 transition (#8620) 2023-02-02 18:06:12 +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
Sébastien Lorber 140f0b1d4c
fix(theme-common): prepare usage of useSyncExternalStore compatibility with React 18 (#8618) 2023-02-02 14:41:33 +01:00
Joshua Chen 1bff83cacc
fix(theme-classic): allow rendering single tab item (#8593) 2023-02-02 12:19:31 +01:00
Sébastien Castiel 2f02beebe2
fix(utils): handle CRLF when parsing MDX imports (#8606) 2023-02-02 09:48:28 +01:00
Joshua Chen ece720b1a7
chore(theme-translations): complete zh translations (#8614) 2023-02-01 18:45:50 +01:00
Joshua Chen 0425917a50
fix(preset-classic): install the right plugin for googleTagManager (#8597) 2023-02-01 16:35:16 +01:00
dependabot[bot] 0f9edc3c11
chore(deps): bump eta from 1.12.3 to 2.0.0 (#8610)
Bumps [eta](https://github.com/eta-dev/eta) from 1.12.3 to 2.0.0.
- [Release notes](https://github.com/eta-dev/eta/releases)
- [Commits](https://github.com/eta-dev/eta/compare/v1.12.3...v2.0.0)

---
updated-dependencies:
- dependency-name: eta
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-31 18:58:38 -05:00
Jiří d8459e5916
fix(theme): add accessible name for the heading hash-link (#8562)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
closes undefined
2023-01-26 12:00:30 +01:00
Matija Sirk c32316eb2b
feat(theme-translations): default translations for Slovenian (sl-SI) (#8541)
Co-authored-by: Matija Sirk <matija.sirk@kopit.si>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-01-19 18:14:17 +01:00