Commit graph

1193 commits

Author SHA1 Message Date
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
ozaki
bde9cfd84d
chore: update node engine version 18 (#9348)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-09-28 16:45:25 +02:00
Sébastien Lorber
52d79c4e0c
chore: v3.0.0-beta.0 release (#9311) 2023-09-15 19:44:35 +02:00
Sébastien Lorber
598b32011f
chore(plugin-docs): remove legacy versioned prefix on doc ids and sidebar names in versioned sidebars (#9310) 2023-09-15 18:52:42 +02:00
Sébastien Lorber
f5ae537d3e
fix(theme): make warning a first-class admonition, and deprecate caution admonition (#9308) 2023-09-15 10:48:21 +02:00
Pinaki Bhattacharjee
83d9f228b3
fix(theme): improve docs sidebar category caret aria-label accessibility (#9269)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-09-14 13:01:02 +02:00
Sébastien Lorber
b3c8f5c929
feat: Docusaurus v3 upgrades and require TypeScript 5 (#9258) 2023-08-25 10:54:58 +02:00
Sujal Gupta
1e40943176
fix(theme): make Prism code block language / additionalLanguages case insensitive (#9183)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-08-10 17:30:41 +02:00
Gareth Dwyer
577df0346d
fix(theme): fix typo in swizzle component config (#9216) 2023-08-10 15:13:50 +02:00
thedevwonder
e0bb39a40a
fix(theme): change schema.org itemType prop urls from http to https (#9184) 2023-07-28 19:37:05 +02:00
FlorinaPacurar
5e147e8914
feat(theme): add support for meta og locale and alternates (#9152) 2023-07-28 17:16:46 +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
Joshua Chen
ff227283d2
chore: upgrade dependencies (non-major) (#9148)
* chore: upgrade dependencies (non-major)

* Downgrade
2023-07-16 23:44:17 +08:00
Mikey O'Toole
c8e7ce33f5
fix(theme): only set classname on ul elements if they have an existing class (#9099)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-06-30 15:39:07 +02:00
TheCatLady
05156d05b9
feat(theme-classic): add description & keywords microdata to blog posts (#9108) 2023-06-29 12:02:22 +02:00
Sébastien Lorber
3b85f0713a
fix(theme): support details/summary in CommonMark + add md dogfood test cases (#9093) 2023-06-22 18:33:07 +02:00
Sébastien Lorber
7d033cc8c0
chore: v3.0.0-alpha.0 release (#9072) 2023-06-15 17:48:55 +02:00
Sébastien Lorber
9866af7f44
feat(pages): add support for missing SEO front matter + improve SEO docs (#9071)
Co-authored-by: Thad Guidry <thadguidry@gmail.com>
2023-06-15 16:07:00 +02:00
Sébastien Lorber
187e5aa218
feat: React 18 + automatic JSX runtime + build --dev (#8961) 2023-06-08 19:40:15 +02:00
Sébastien Lorber
2d35edf911
feat(theme): add ability to inject data attributes from query-string - possibility to create an iframe/embed variant of a page (#9028) 2023-05-31 16:22:25 +02:00
0x24Karthick
6939444c31
docs: remove Meta Data Policy footer link on website (#9024) 2023-05-31 11:37:05 +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
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
Sébastien Lorber
f76fc1bfac
feat(theme): create more generic ThemedComponent util from ThemedImage (#8890) 2023-04-13 16:29:02 +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
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
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
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
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
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
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
Joshua Chen
1bff83cacc
fix(theme-classic): allow rendering single tab item (#8593) 2023-02-02 12:19:31 +01: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
Devansu Yadav
90e7e321d1
feat(eslint-plugin): new prefer-docusaurus-heading rule (#8384) 2023-01-19 17:08:24 +01: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
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
Sébastien Lorber
9c860ce419
fix(theme): refactor Tabs, make groupId + queryString work fine together (#8486) 2022-12-29 12:41:53 +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
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
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
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