Commit Graph

2569 Commits

Author SHA1 Message Date
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
Devansu Yadav 90e7e321d1
feat(eslint-plugin): new prefer-docusaurus-heading rule (#8384) 2023-01-19 17:08:24 +01:00
Joshua Chen 19c1e27b52
fix(algolia): make search footer respect searchPagePath (#8539) 2023-01-19 14:14:12 +01:00
Joshua Chen 00023c24b6
fix(core): avoid hash collision when generating chunk names (#8538) 2023-01-18 19:19:07 +01:00
Mariusz Krzaczkowski 8714a95900
chore(theme-translations): complete pl translations (#8525)
* Update theme-common.json

* Add content from #8520

* Update packages/docusaurus-theme-translations/locales/pl/theme-common.json

Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>

* Update packages/docusaurus-theme-translations/locales/pl/theme-common.json

Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>

* Update packages/docusaurus-theme-translations/locales/pl/theme-common.json

Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>

* Update packages/docusaurus-theme-translations/locales/pl/theme-search-algolia.json

Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>

* Update packages/docusaurus-theme-translations/locales/pl/theme-search-algolia.json

Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>

* Update packages/docusaurus-theme-translations/locales/pl/theme-search-algolia.json

Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>

* Update packages/docusaurus-theme-translations/locales/pl/theme-search-algolia.json

Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>

* Update packages/docusaurus-theme-translations/locales/pl/theme-common.json

Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>
2023-01-18 11:45:52 -05:00
Joshua Chen 3526059214
chore: bump dependencies major versions (#8537) 2023-01-10 15:22:19 -05:00
Joshua Chen e8a07633ba
chore: upgrade dependencies (#8534)
* chore: upgrade dependencies

* FIxes

* Bump again
2023-01-10 13:23:16 -05:00
dependabot[bot] 6eb40e0591
chore(deps): bump json5 from 1.0.1 to 1.0.2 (#8502)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-01-04 18:35:59 +01:00
Lane Goolsby 428af8af5e
feat(plugin-google-tag-manager): add new google-tag-manager plugin + deprecate google-analytics plugin (#8470)
Co-authored-by: Goolsby, Lane <lanegoolsby@rocketmortgage.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
fix https://github.com/facebook/docusaurus/issues/7221
2022-12-29 16:53:54 +01:00
Riccardo e1d6292d46
fix(theme-classic) extract HomeBreadcrumbItem + fix swizzle bugs (#8445)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-12-29 13:48:25 +01:00
John Reilly 022e00554e
feat(blog): add options.createFeedItems to filter/limit/transform feed items (#8378)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-12-29 13:31:32 +01:00
mturoci 0985fa0af3
fix(search-algolia): pass custom transformItems function to SearchBar (#8462)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
closes undefined
Closes https://github.com/facebook/docusaurus/pull/8462
Closes https://github.com/facebook/docusaurus/issues/8461
2022-12-29 13:29:00 +01:00
Sébastien Lorber 9c860ce419
fix(theme): refactor Tabs, make groupId + queryString work fine together (#8486) 2022-12-29 12:41:53 +01:00
Thomas.CA 0371d579d9
fix(core): explicitly define CopyWebpackPlugin toType: 'dir' (#8481)
closes undefined
2022-12-27 19:20:42 +01:00
Dongjoon Lee c0102bda68
fix(theme-classic): content container grow to take all the available space (#8463)
fix https://github.com/facebook/docusaurus/issues/8369
fix https://github.com/facebook/docusaurus/pull/8426
2022-12-22 19:20:54 +01:00
Anders Bech Mellson 19ba0ff49d
feat(theme-algolia): add option.replaceSearchResultPathname to process/replaceAll search result urls (#8428)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-12-22 18:24:28 +01:00
Nguyễn Thành Nam f54b6e77cd
fix(theme-translations): complete Vietnamese theme translations (#8450)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-12-16 13:24:06 +01:00
Viktor Malmedal 4a448773b6
feat: add eslint plugin no-html-links (#8156)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Viktor Malmedal <viktor.malmedal@eniro.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-12-14 18:28:29 +01:00
宋锦丰 81f30dd495
fix(translations): complete Chinese theme translations (#8423)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-12-14 15:32:44 +01:00
Martin Adamko f3563ca23c
fix(theme-classic): polish admonition details, render title-only admonitions (#8150)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-12-09 20:02:06 +01:00
mturoci 5c09dbfc3d
feat(theme-classic): store selected tab in query string. (#8225)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
Closes https://github.com/facebook/docusaurus/issues/7008
2022-12-09 17:46:09 +01:00
Sébastien Lorber eb710af1b8
fix(translations): typo in lastUpdatedAtBy Vietnamese translation (#8424) 2022-12-09 11:04:18 +01:00
Dongjoon Lee e553ce7e59
fix(docusaurus-utils-validation): baseUrl + routeBasePath: allow empty string, normalized as "/" (#8258)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
fix https://github.com/facebook/docusaurus/issues/8254
2022-12-08 16:54:32 +01:00
Lachlan Heywood 85d0b5674f
feat(eslint-plugin): add plugin to exported configs (#8281)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
closes undefined
Closes https://github.com/facebook/docusaurus/issues/8280
2022-12-07 19:05:34 +01:00
Sébastien Lorber 59fac0b1d1
docs: document siteConfig.markdown + better mdx-loader retrocompat (#8419) 2022-12-07 17:59:51 +01:00
Sadegh Karimi 8b6fc47cb2
fix(translations): complete farsi theme translations (#8406) 2022-12-07 15:47:54 +01:00
Robert Lawrence eecfdebf08
fix(theme): add missing aria-labels to the main and sidebar navs (#8366)
Fix https://github.com/facebook/docusaurus/issues/8308
2022-11-30 13:57:32 +01:00
John Reilly 79214670a9
fix(content-blog): blog Atom feed id + RSS feed guid should be fully qualified urls (#8381)
Closes https://github.com/facebook/docusaurus/issues/8380
2022-11-30 13:56:21 +01:00