Commit graph

2480 commits

Author SHA1 Message Date
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
Kevin Østerkilde
221b114b2c
refactor(theme-classic): make tag text visually certered (#7876) 2022-08-09 20:00:43 +02:00
Joshua Chen
308d3e1f89
docs: remove mention of beta (#7905)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-08-09 19:26:23 +02:00
Ngô Quốc Đạt
efcfa1dd35
chore(theme-translations): complete vi translations (#7928)
docs: update Vietnamese translations
2022-08-10 00:50:08 +08:00
Yangshun Tay
0bc4a7ddb1
fix: revert "update FB template headers (#7842)" (#7926)
Revert "chore: update FB template headers (#7842)"

This reverts commit 9150c7aefc.
2022-08-09 09:42:27 +08:00
Sébastien Lorber
b7ea00a917
chore: bump main to 3.0.0-alpha.0 (#7923) 2022-08-08 19:13:49 +02:00
yzhe819
d938ff7430
fix(theme-classic): code block line number display with line wrapping (#7910)
* fix: line numbers display issue of code block

* test: add dogfooding test page

* chore: lint

* test: move to code-block-tests
2022-08-07 23:01:31 +08:00
Joshua Chen
1bf5c0d36e
chore: upgrade dependencies (#7883) 2022-08-02 16:44:02 +08:00
Joshua Chen
40827c6c72
fix(utils): always match exclusion root dirs as complete folder paths (#7864)
* fix(utils): always match exclusion root dirs as complete folder paths

* fix

* fix?

* fix for real
2022-08-01 15:23:01 +08:00
Markshawn
f6835898bc
chore: fix CSS import order ESLint rule (#7852)
* enhance: added ESLint ruler for CSS import

* chore: added ruler for default import of css, and fixed all exsting files

* chore: reverted changes on css header rulers
2022-08-01 00:05:00 +08:00
Yangshun Tay
9150c7aefc
chore: update FB template headers (#7842) 2022-07-28 14:48:03 +08:00
Joshua Chen
960637a090
chore: upgrade dependencies (#7822) 2022-07-23 22:26:48 +08:00
Joshua Chen
1dd65eee50
fix(utils): recognize ~~~ as code fences in link replacement (#7801) 2022-07-18 19:16:00 +08:00
Joshua Chen
17ec6bbde7
chore: upgrade dependencies (#7794) 2022-07-17 12:44:46 +08:00
whiteand
cf134a5308
fix: collapse siblings when first category is selected (#7786)
fix: not collapsing when first category is selected
2022-07-15 16:54:09 +08:00
Joshua Chen
1065e558d2
refactor(core): log Docusaurus & Node version before exiting (#7781) 2022-07-14 19:50:57 +02:00
Sébastien Lorber
965a01e589
chore: port-2.0.0-rc.1 (#7782) 2022-07-14 19:30:17 +02:00
Sébastien Lorber
f913af0d69
docs: release process, versioning, breaking changes, public API surface (#7706)
Co-authored-by: Paul O’Shannessy <paul@oshannessy.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-07-14 17:07:34 +02:00