Commit graph

2514 commits

Author SHA1 Message Date
Josh Goldberg
ac81765024
fix(utils): allow partially backticked markdown h1 contentTitles (#8314) 2022-11-17 11:38:10 +01:00
Muhammad Hammad
53aa9a2416
fix(core): normalize input for poll option (#8342)
Fixes https://github.com/facebook/docusaurus/issues/8306
2022-11-17 11:22:12 +01:00
Josh Goldberg
e756d734e3
fix(theme): forward className prop in theme-classic's Heading (#8350)
Fixes https://github.com/facebook/docusaurus/issues/8327
2022-11-16 17:52:49 +01:00
Sébastien Lorber
d8c72fb32d
fix(docs,theme): auto-generated category index should not display unlisted content (#8319) 2022-11-10 18:31:01 +01:00
Sébastien Lorber
1d5afbaaa5
fix(mermaid): fix Mermaid integration for v9.2 release (#8282) 2022-11-10 16:07:18 +01:00
Stefan Norberg
04eb04cb49
fix(theme-translations): complete Swedish theme translations (#8312)
Co-authored-by: stnor <stefan@selessia.com>
2022-11-10 12:59:20 +01:00
AHMET BAYHAN BAYRAMOGLU
8f6dde5544
fix(theme-translations): complete Turkish theme translations (#8289) 2022-11-09 18:27:29 +01:00
Jody Heavener
683ba3d2a0
feat(docs,blog,pages): add support for "unlisted" front matter - hide md content in production (#8004)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-11-03 14:31:41 +01:00
Sébastien Lorber
7a023a2c41
fix(create-docusaurus): improve init template misleading doc + add Docuaurus social card (#8279) 2022-11-02 17:03:00 +01:00
Sébastien Lorber
9f4d2e7136
chore: fix flaky tests (#8259) 2022-10-28 11:46:54 +02:00
Alexey Pyltsyn
5baa56b4bf
chore(theme-translations): complete ru translations (#8253) 2022-10-27 11:03:34 +02:00
Alexey Pyltsyn
258ecf71f1
fix(ideal-image): do not pass down img prop (#8250) 2022-10-26 13:59:35 -04:00
Joshua Chen
e301523138
fix(mdx-loader): properly unwrap mdxAdmonitionTitle placeholder (#8246) 2022-10-26 12:52:29 -04:00
Sébastien Lorber
368bfbb153
chore: fix tree-node-cli license (#8248) 2022-10-26 15:04:18 +02:00
Shanmughapriyan S
91b92fcd08
fix(plugin-content-docs): fix error message context (error cause) when doc processing fails (#8234)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-10-26 14:48:25 +02:00
Forresst
327158b085
chore(theme-translations): complete French translations (#8243) 2022-10-26 13:09:24 +02:00
Lane Goolsby
e41133245c
refactor(plugin-gtag): update gtag plugin to modern SPA recommendations (#8143)
Co-authored-by: Lane Goolsby <lanegoolsby@rocketmortgage.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-10-21 14:59:12 +02:00
Xabier Lahuerta Vazquez
5ddcbf47a8
feat(plugin-client-redirects): keep the query string + hash (#8227)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-10-20 18:01:18 +02:00
evan
7b3ebb7729
feat(core): add --config param to swizzle command (#8210) 2022-10-20 16:11:39 +02:00
Jeferson S. Brito
f668b3ba50
fix(theme-classic): hamburger menu control navigation by keyboard (#8207) 2022-10-19 19:56:04 +02:00
mturoci
aa4fa66794
fix(theme-classic): fix SkipToContent without JS , refactor, make it public theming API (#8204)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-10-19 18:27:08 +02:00
Sam Wall
9c92a79d23
feat: support mermaid code blocks in Markdown (#7490)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-10-14 18:07:20 +02:00
Rashid
79b3f65a17
fix(live-codeblock): add error boundary to live code preview (#8015)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-10-13 17:49:27 +02:00
Sanjaiyan Parthipan
80064b2eb9
perf(core): move scripts to document head + defer (#8081)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-10-13 16:00:44 +02:00
forgeRW
2372335532
fix(core): throw error for invalid URL in config file (#8192) 2022-10-13 11:39:57 +02:00
Joshua Chen
aa7d81d7bf
fix(theme): add more tag names to inline element set (#8190) 2022-10-12 18:03:35 +02:00
John Reilly
1ca4fb50fe
feat(core): siteConfig.headTags API to render extra tags in document head (#8151)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-10-12 17:45:56 +02:00
Johan Fagerberg
6c8af03f51
fix(utils): remove non-ASCII limitation for path normalization (#8137) 2022-10-07 13:35:12 +02:00
Pranav Joglekar
efbd0cbd40
fix(content-blog): make RSS feed generation work with slugs with .html extension (#8158)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-10-06 16:19:05 +02:00
Adnan Hashmi
c325f87fd8
fix(theme): mobile navbar & skipToContent should cover announcementBar (#8163)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-10-06 15:20:18 +02:00
mturoci
b0d431af3b
fix(theme): do not show tab content when tabbing over it; show after selection only (#8161) 2022-10-05 19:10:08 +02:00
mturoci
44af538153
fix(theme): announce theme switches when using screen reader. #7667 (#8174)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-10-05 18:49:01 +02:00
forgeRW
53dbbe36f2
fix(core): throw error for invalid URL in config file (#8159)
* fix: throw error for invalid URL in Docusaurus config file

* Also add unit test to check error is thrown

* fix: perform error check for invalid URL to configValidation.ts

* Throw error for invalid URL in Docusaurus config file
* Perform error check in configValidation.ts
* Undo error check in createSitemap.ts

* Better message

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-10-02 11:31:14 -04:00
SADIK KUZU
eabca78c38
docs: fix typo (#8162)
* fix(website): Fix typo

website/docs/api/misc/logger/logger.md:32:45

* Replace all

Signed-off-by: Joshua Chen <sidachen2003@gmail.com>

Signed-off-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-10-02 11:00:22 -04:00
Masahiko Hara
883e4684ab
fix(theme-translation): complete Japanese theme default translation (#8075) 2022-09-29 12:28:13 +02:00
Ramazan SANCAR
292d728c49
fix(theme-translations): complete turkish theme default translations (#8105) 2022-09-28 19:30:28 +02:00
Sanjaiyan Parthipan
f7c3af9102
feat(core): prefetch on mobile touchstart (#8109) 2022-09-28 12:59:08 +02:00
Nguyễn Thành Nam
2e66e1cbba
fix(theme-translations): remove extra vi translations (#8087)
chore(theme-translations): vi translations

chore(theme-translations): complete vi translations

Edit theme.blog.post.readingTime.plurals theme.blog.post.plurals theme.docs.tagDocListPageTitle.nDocsTagged
2022-09-12 16:00:02 -04:00
Sanjaiyan Parthipan
0a87116a1c
perf(create): run async tasks concurrently (#8080)
* Adding incremental support for React 18 🚀

* parallel

* revert react 18

* revert lint

* end line

* Update packages/create-docusaurus/src/index.ts

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-09-10 23:06:34 -04:00
Mikey O'Toole
a0ab2b0065
refactor(theme): remove hard-coded tag border-radius (#8062) 2022-09-08 17:25:26 +02:00
Joshua Chen
bcae7503ff
fix(core): normalize slashes for url/baseUrl instead of throwing (#8066) 2022-09-08 17:18:26 +02:00
Joshua Chen
73d0ede21a
fix(redirect): tolerate trailing slash difference if config is undefined (#8067) 2022-09-08 17:15:52 +02:00
LittleboyHarry
710c0c58f0
fix(theme): preserve line breaks when copying code with showLineNumbers in Firefox (#8068)
Fix CodeBlock no line breaks copied in Firefox bug
2022-09-08 09:42:05 -04:00
Joshua Chen
275f509d13
chore: upgrade dependencies (#7993)
* chore: upgrade dependencies

* Fix lint

* Bump more

* Fix lint
2022-09-08 01:31:53 -04:00
Sébastien Lorber
a492025cbf
fix(theme): preserve url ?search#hash on navbar version/locale dropdowns navigations (#8059) 2022-09-07 19:36:04 +02:00
Sébastien Lorber
6f63ffe0a3
refactor(theme): split admonitions, make swizzle easier, better retrocompatibility (#7945)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-09-07 17:49:44 +02:00
Joshua Chen
36db64ed1d
docs: improve alt messages (#8047) 2022-09-04 01:33:25 -04:00
Joshua Chen
46d705a487
refactor(core): detect if codegen should quote property without using eval() (#8045)
refactor(core): detect if should quote property when codegen without using eval()
2022-09-02 19:52:29 -04:00
Sébastien Lorber
55de3ea04b
fix(create-docusaurus): tutorial and init template improvements (#8032) 2022-09-01 13:10:50 +02:00
Morgane Dubus
c4f808aba8
fix(preset-classic): broken link in "unrecognized keys" error message (#8029) 2022-08-31 16:45:45 +02:00