Commit graph

5274 commits

Author SHA1 Message Date
Zac A
674a77f02d
docs: add easy-dates to showcase (#7185)
* docs: add easy-dates to showcase

* optimize image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-17 11:38:53 +08:00
Joshua Chen
f219a2ac90
test: improve test coverage (#7181) 2022-04-16 16:35:40 +08:00
Joshua Chen
44966e19e9
fix(theme-classic): do not add microdata item prop to trailing breadcrumb (#7179) 2022-04-15 22:09:00 +08:00
Alexey Pyltsyn
84d04ed6ed
feat(theme-classic): new 'html' type navbar item (#7058)
* feat(theme-classic): allow using html in dropdown items

* Fix tests

* Introduce HTML type for navbar item

* Update packages/docusaurus-theme-classic/src/theme/NavbarItem/HtmlNavbarItem.tsx

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-15 18:58:15 +08:00
Sébastien Lorber
5273a534d3
refactor(theme-classic): split CodeBlock (#7175)
* extract CodeBlockLine

* stable refactor

* stable refactor

* stable refactor

* add CodeBlockContainer

* refactor

* refactor

* do the actual split

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-15 17:58:12 +08:00
Qi Zhang
0f5f6f31e0
docs: add Rainbond site to showcase (#7177)
* add Rainbond site to showcase

* minor tweaks

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-15 17:49:38 +08:00
Sébastien Lorber
6238ee0851
chore: fix CI typo (#7174) 2022-04-14 18:37:56 +02:00
chelproc
f6a14db8de
fix(theme-classic): admonition title: disable text-transform on inline code blocks (#7173) 2022-04-14 18:20:13 +02:00
Alexey Pyltsyn
ad1526aade
refactor: control base styling of code blocks via CSS vars (#7172)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-04-14 18:16:39 +02:00
Alexey Pyltsyn
fe064a87a6
fix: adjust spacing for custom search properly (#7164) 2022-04-14 11:53:47 +02:00
Joshua Chen
03516dc3a7
fix(sitemap): exclude pages with robots noindex from sitemap (#7143) 2022-04-14 11:31:09 +02:00
Sébastien Lorber
6306cbc266
misc: add CI actions/dependency-review-action for security (#7168) 2022-04-13 19:22:00 +02:00
Naveen
ce08891af3
misc: pin actions to a full-length commit SHA (#6984)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-04-13 18:45:19 +02:00
Jody Heavener
5fb0a2e274
feat(content-docs): draft docs excluded from build & sidebars (#6457)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-13 18:02:05 +02:00
Alexey Pyltsyn
ee4c984bc7
feat(theme-classic): code block showLineNumbers (#7007) 2022-04-13 14:42:35 +02:00
Joshua Chen
4d9a0edf21
fix(theme-translations): always try all possible locale resolutions (#7166) 2022-04-13 16:32:46 +08:00
Andrew Lyons
ec109737e9
docs: explain more clearly the purpose of a ref sidebar type (#7159) 2022-04-12 15:59:41 +08:00
Leedom
d2082ba49b
docs: add leedom to showcase (#7151)
* add new showcase leedom

* optimize image

Co-authored-by: leedom <leedom@jinlanzuan.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-12 15:45:14 +08:00
redhat123456
0abf4d706c
docs: add Seven-innovation-base to showcase (#7144)
* Update users.tsx

* Add files via upload

* Update users.tsx

* Update users.tsx

* Delete 1.png

* Add files via upload

* optimize image

* fix tags

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-11 10:59:19 +08:00
Joshua Chen
f4ab7c65ac
feat(preset-classic, content-docs/client): JSDoc (#7148)
* refactor: add JSDoc for preset-classic, content-docs/client

* fix
2022-04-11 09:36:30 +08:00
Joshua Chen
25ba91fd4d
fix(website): remove skipLibCheck (#7147) 2022-04-11 07:43:30 +08:00
Joshua Chen
7a61eed3dd
refactor: unify how MDX content types are represented (#7145)
* refactor: unify how MDX content types are represented

* fix

* fix again
2022-04-10 19:19:44 +08:00
Joshua Chen
b50def3ac0
refactor(core): lower timeout before rendering progress bar to 200ms (#7142) 2022-04-09 20:19:17 +08:00
Joshua Chen
0dc7f0ff14
refactor(core): minor PendingNavigation refactor (#7141)
* refactor(core): minor PendingNavigation refactor

* lol
2022-04-09 19:30:21 +08:00
Joshua Chen
96fbcb3f51
refactor(content-docs): split version handling into several files (#7140)
* refactor(content-docs): split version handling into several files

* fix test

* increase timeout
2022-04-09 17:08:57 +08:00
Alexey Pyltsyn
7d44961d8b
fix: proper spacing between generated card items on mobiles (#7139) 2022-04-09 09:43:46 +03:00
Joshua Chen
2a7820582c
chore: upgrade dependencies (#7138)
* chore: upgrade dependencies

* reorg

* update comment
2022-04-09 12:36:10 +08:00
Joshua Chen
e5bf59fd9b
refactor: mark a few client-side packages as side-effect-free (#7085)
* refactor: mark a few client-side packages as side-effect-free

* fix

* fix again

* fix...

* revert sideeffect

* revert

* fix again...

* properly fix

* fix

* properly fix
2022-04-09 09:08:18 +08:00
apq
53f531edbf
docs: add Virtual Photography Kit to showcase (#7136)
* Added Virtual Photography Kit

* Added Virtual Photography Kit image

* optimize image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-09 09:05:01 +08:00
Alexey Pyltsyn
d5cfa5b7cf
refactor(theme-classic): fix a few margin inconsistencies (#7129)
* refactor(theme-classic): minor fixes and improvements

* Fixes after review

* Reset spacing for all children inside browser window
2022-04-09 08:27:22 +08:00
Joshua Chen
7941a46be3
feat: allow setting calendar for i18n date formatting (#6430)
* feat: allow setting calendar for i18n date formatting

* fix TS

* add test
2022-04-08 22:34:34 +08:00
Sébastien Lorber
3e110054d7
fix(theme-classic): fix docs sidebar layout shifts when expanding categories (#7134) 2022-04-08 12:41:00 +02:00
Joshua Chen
171927342f
feat(core): fail-safe global data fetching (#7083) 2022-04-08 11:08:22 +02:00
Joshua Chen
9145ae88cc
chore: disable string escaping in snapshots (#7131) 2022-04-08 11:23:19 +08:00
Joshua Chen
4134ebb3fb
feat(content-docs): make docs:version command work on localized docs (#7106)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-04-07 19:43:24 +02:00
Joshua Chen
0a3aad618e
feat(core): allow plugins to declare custom route context (#7082) 2022-04-07 18:38:33 +02:00
Joshua Chen
1156be3f20
refactor(content-{blog,docs}): unify handling of tags (#7117) 2022-04-07 15:58:21 +02:00
Joshua Chen
ca718ccac0
refactor(theme-classic): blog mobile secondary menu use consistent styles (#7068) 2022-04-07 15:56:50 +02:00
Joshua Chen
f9c0a5a6d5
feat(core): allow plugin/preset config to contain false/null (#7124) 2022-04-07 15:27:20 +02:00
Alexey Pyltsyn
0963bff5e7
feat(preset-classic): exclude debug plugin routes from sitemap (#7122) 2022-04-07 12:59:47 +02:00
Alexey Pyltsyn
bfbc78e52a
feat: allow using pure HTML as label in navbar links (#7079)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-04-07 12:33:52 +02:00
Lukas Bach
529d853ab8
docs: add Synergies to showcase (#7127)
* docs(showcase): add synergies

* docs(showcase): add synergies preview file

* optimize image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-07 18:18:17 +08:00
Karl Ward
b230e8a545
docs: add Files Gallery website to showcase (#7125)
* Update users.tsx

Product website built with Docusaurus! Thanks.
www.files.gallery

* Added preview image for Files Gallery

PNG / 2560 x 1280

* optimize image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-07 18:16:05 +08:00
Pierre-Gilles Leymarie
90ee1447ba
fix(theme-classic): shrink title size on mobile (#7004) 2022-04-07 11:53:24 +02:00
Joshua Chen
3cdd038d28
docs: multiple documentation improvements (#7126) 2022-04-07 16:27:28 +08:00
Joshua Chen
2c61bf2568
refactor(showcase): enforce descriptions with maximum length of 120 characters (#7123)
* refactor(showcase): enforce descriptions to have maximum 120 characters

* update
2022-04-07 13:26:21 +08:00
Alexey Pyltsyn
c669c103f9
refactor(website): minor fixes and improvements (#7119)
* refactor(website): minor fixes and improvements

* Some fixes

* Round all the corners in browser window

* Add rounded bottom corners to browser window
2022-04-07 08:33:52 +08:00
mehdim
49424f5057
docs: correct plugin example filename (#7026)
* Correect Wrong file name

The file name inside the my-plugin folder is index.js .

* Update plugins.md

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-07 08:17:06 +08:00
ApsarasX
103ea04661
feat(sitemap): add ignorePatterns option (#6979)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-06 15:44:07 +02:00
Joshua Chen
bd70cfc1d7
refactor(create): mention that the edit links can be removed (#7118) 2022-04-06 17:20:41 +08:00