Commit graph

2547 commits

Author SHA1 Message Date
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
Sébastien Lorber
c811d6249e
feat(theme): ability to use <DocCardList> without items prop, on any doc page (#8008) 2022-08-26 17:42:59 +02:00
Naffy Dharni
ff8ef774d6
fix(create): bad grammar in template docs (#7978) 2022-08-25 08:24:50 -04:00
adventure-yunfei
75dc4a47e2
fix(core): preload should support encoded page links (#7977)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-08-25 13:47:46 +02:00
Yoni Chechik
c2ce8a02e7
fix(theme): add aria-label to skip to content link region (#7982)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-08-24 17:19:39 +02:00
Sébastien Lorber
cee1b4b971
fix(core): CLI command write-translations should extract translations from @docu… (#7996) 2022-08-24 12:45:57 +02:00
Sébastien Lorber
94067ce930
fix(core): allow overriding ssr/dev template meta tags (#7952) 2022-08-19 16:47:28 +02:00
Jesper
c706b23666
fix(core): make webpack HMR always listen to current location (#7951)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-08-18 19:45:33 +02:00
Sébastien Lorber
3b9b497d13
fix(plugin-docs,theme): refactor docs plugin routes and component tree (#7966) 2022-08-18 17:55:05 +02:00
Jan Peer Stöcklmair
c29218ea1d
chore(plugin-docs): expose all lib files through exports (#7962)
chore(plugin-docs): expose lib in package.json (closes #7961)

Co-authored-by: Jan Peer Stoecklmair <jan.peer.stoecklmair@dynatrace.com>
2022-08-18 14:25:51 +08:00
Sébastien Lorber
eac3239757
feat(docs): allow to configure noIndex per doc version (#7963) 2022-08-17 16:55:49 +02:00
Sébastien Lorber
a335a69982
fix(sitemap): filter all routes with robots meta containing noindex (#7964) 2022-08-17 16:41:41 +02:00
Bagdasar Ovsepyan
2052482e20
feat(theme): adds Ukrainian default theme translations (#7953) 2022-08-16 18:57:14 +02:00
Sébastien Lorber
de526e1ab2
feat(plugin-docs): docs sidebar item link: support "autoAddBaseUrl" attribute (#7949) 2022-08-12 12:50:12 +02:00
Sébastien Lorber
53bb0307dd
refactor(theme-classic): split AnnouncementBar, increase z-index, use shadow (#7940) 2022-08-12 12:34:54 +02:00
Sébastien Lorber
ad15605545
feat(theme-classic): use lang attribute in navbar locale dropdown items (#7942) 2022-08-12 12:33:53 +02:00
Sébastien Lorber
b4279dfee7
feat(core): add new Webpack file-loader extensions: avif, mov, mkv, mpg, avi... (#7941) 2022-08-11 19:42:13 +02:00
Sébastien Lorber
2a6f116a85
chore: bad remark-admonition readme link (#7939) 2022-08-11 10:38:35 +02:00