Commit graph

4742 commits

Author SHA1 Message Date
Ariful Alam
567b03d63d
docs: add Reddit Image Fetcher site to showcase (#6856)
* Add reddit-image-fetcher.png to showcase

* Add Reddit Image Fetcher to users.tsx

* Update reddit-image-fetcher.png with correct dimension

* optimize image

* Set Reddit Image Fetcher's source as `null` and remove open source tag

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-08 13:42:28 +08:00
moonrailgun
2059e53e5d
docs: update TRPG Engine showcase (#6875) 2022-03-08 12:34:04 +08:00
dependabot[bot]
5869f230b3
chore(deps): bump actions/checkout from 2 to 3 (#6870)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-08 08:57:15 +08:00
Joshua Chen
5ea76f2376
docs: mark clutch and gulp as opensource (#6871) 2022-03-08 07:34:35 +08:00
Joshua Chen
a4e37c4054
refactor: improve types (#6866) 2022-03-07 22:14:50 +08:00
Joshua Chen
8e934450d8
refactor: remove unnecessary default values normalized during validation (#6864)
* refactor: remove unnecessary default values normalized during validation

* more
2022-03-07 19:23:30 +08:00
Joshua Chen
7fc134ba0e
docs: update showcase data (#6862) 2022-03-07 13:11:30 +08:00
Joshua Chen
44d73f7230
refactor: make JS executables included in the tsconfig for editor hints (#6861)
* refactor: make JS executables included in the tsconfig for editor hints

* oops
2022-03-06 23:07:23 +08:00
tae
a6e72192fa
fix(create): load entry file after node version checking (#6860)
* refactor(create): add exception handling if external command is fails

refers #4870

85e87b560e

* fix(create): load entry file after node version checking
2022-03-06 22:18:38 +08:00
Joshua Chen
5e2168ea22
refactor(lqip-loader): split test files (#6858) 2022-03-06 18:34:04 +08:00
Joshua Chen
f763ac13a9
test: improve test coverage (#6857) 2022-03-06 17:55:21 +08:00
Evan
edb4d00096
docs: update Evan Tay personal site showcase (#6855)
* docs: update evantay showcase image

* docs: update evnatay showcase title

* fix test

* retake photo

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-06 13:59:42 +08:00
Joshua Chen
4db0c620de
refactor: enable a few TS flags (#6852)
* refactor: enable a few TS flags

* refactor

* revert to working version

* fix

* better

* change
2022-03-06 13:09:10 +08:00
Evan
9f925a42bf
fix(core): fix swizzle legend typo (#6854)
* fix(core): fix swizzle legend typo

* Update packages/docusaurus/src/commands/swizzle/tables.ts

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-06 11:05:17 +08:00
tae
2e163a9ec4
feat(content-docs): allow custom props through _category_.json (#6780)
* feat(content-docs): allow custom props through _category_.json

* refactor

* documentation

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-05 18:52:36 +08:00
Joshua Chen
b2d6e453e3
fix(core): make plugin lifecycles consistently bound to the plugin instance (#6850) 2022-03-05 17:57:10 +08:00
Joshua Chen
a756ddb7e1
fix(cli): write-heading-id should not generate colliding slugs when not overwriting (#6849) 2022-03-05 17:25:47 +08:00
Tsz W. TAM
027e8f506b
fix: minor Chinese translation fixes (#6847)
Before: {count} 篇文件帶有標籤 篇帶有標籤「{tagName}」
After: {count} 篇文件帶有標籤「{tagName}」
2022-03-05 15:51:59 +08:00
Joshua Chen
4e6166f326
misc(test): make E2E test use stable Yarn berry (#6848) 2022-03-05 15:00:06 +08:00
Sébastien Lorber
3e38380b69
fix(website): changelog plugin leads to CI bugs on release (#6838) 2022-03-04 10:58:54 +01:00
seladb
52fa4514f7
docs: add PcapPlusPlus to showcase (#6837)
* Add PcapPlusPlus to users.tsx

* Add PcapPlusPlus preview

* optimize image

* retake picture

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-04 17:24:56 +08:00
Sam Gutentag
aa5c9f5064
docs: make tutorial code block directly copyable (#6833)
* code block included diff +,- 

Sample code block could not be copy/pasted as the tutorial mentions with the lines that appear to be from a diff tool.

* add highlight

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-04 09:04:02 +08:00
Afonso Jorge Ramos
31fcc293e2
docs: add Spicetify site to showcase (#6832)
* fix: website sorting

* add `spicetify.png`

* add spicetify entry to showcase

* optimize image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-04 09:03:49 +08:00
nate contino
5f1edd5ac8
docs: simplify imported code blocks syntax (#6830)
* refactor: simplify imported code blocks

- Use `language=<lang>` prop instead of "className="language-<lang>" for imported code blocks

I've been using this in my personal projects ([example](https://raw.githubusercontent.com/nathan-contino-mongo/docusaurus-realm/9a2ebb6a43bbbd7b38899fcc86c903dcc1f61283/docs/sdk/kotlin/migrate-from-java-sdk.mdx)) since it is less verbose.
If this interface is somehow less stable than the `className` prop, feel free to close this. But if both will work going forward
we should probably recommend the simpler of the two.

* Update markdown-features-react.mdx
2022-03-04 07:09:16 +08:00
Sébastien Lorber
65842ba3f4
chore: update examples to beta.17 (#6831) 2022-03-03 19:22:13 +01:00
Sébastien Lorber
8dbd656340
chore: prepare v2.0.0-beta.17 release (#6829) 2022-03-03 18:44:41 +01:00
Sébastien Lorber
7eaec081e8
fix(theme-classic): restore docusaurus search meta (#6827) 2022-03-03 15:56:44 +01:00
Joshua Chen
c387a177e8
refactor(theme-common): unify missing context errors (#6826)
* refactor(theme-common): unify missing context errors

* update test

* more robust
2022-03-03 22:26:56 +08:00
Nayan Patel
5c60f41e1b
docs: Adds Netlify one click deploy to README (#6825) 2022-03-03 14:16:17 +01:00
Sébastien Lorber
2144db0f58
fix(theme-common): breadcrumbs home bug in docs-only (#6824) 2022-03-03 20:20:02 +08:00
Nayan Patel
df6b184270
docs: add deploy with vercel button to README (#6818) 2022-03-03 12:46:22 +01:00
Joshua Chen
c90d25ca2f
fix(content-docs): always sort autogenerated sidebar items by file/folder name by default (#6700) 2022-03-03 12:39:54 +01:00
Joshua Chen
f04cb7abb9
test(content-docs): refactor navigation test snapshot (#6821)
* test(content-docs): refactor navigation test snapshot

* format
2022-03-03 14:00:42 +08:00
Nayan Patel
1c91d2f20e
docs: fix broken links (#6817)
* Fix a broken showcase GitHub URL

* Seems like this site is no longer Open Source?

* Seems like this site is no longer open source?

* Fix as previous link leaded to a 404

* Replaces the 404 error of previous page.

Not sure if this is the correct link to be placed there.

* Fixes 404 error ;)
2022-03-03 07:02:57 +08:00
Sébastien Lorber
fb201313b9
fix(theme-common): docs breadcrumbs not working with baseUrl (#6816) 2022-03-02 18:09:05 +01:00
Joshua Chen
6cbc58943e
feat: allow blog authors email (#6783) 2022-03-02 16:28:17 +01:00
Joshua Chen
7ec44bb32c
refactor(theme-classic): replace color mode toggle with button; remove switchConfig (#6771)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-03-02 15:57:17 +01:00
Joshua Chen
b1492135c2
refactor(theme-classic): use Material icon for language dropdown (#6769) 2022-03-02 13:04:40 +01:00
Joshua Chen
c1fb3deace
fix(theme-classic): allow code tags containing inline elements to stay inline (#6767) 2022-03-02 13:01:58 +01:00
David Stotijn
2e3eec2d08
fix: consistently use max-width: 996px in media queries (#6815)
* fix: consistently use `max-width: 996px` in media queries

Follow `docusaurus-theme-classic` and use `996px` as the cutoff
between desktop and mobile screen width.

* revert example changes

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-02 19:43:44 +08:00
Joshua Chen
8a24d56783
fix(mdx-loader): allow image paths to be URL encoded (#6792) 2022-03-02 12:14:53 +01:00
Dmitry Vinnik
1ac41132e3
docs: add homepage banner in support of Ukraine (#6811)
* Adding social banner in support of Ukraine

* Adding flag to the banner

* Updating donation URL

* Updating URL for the fundraiser
2022-03-01 22:50:24 -08:00
Vaibhav Shinde
cfdd120dc4
docs: mark dyte as opensource in showcase (#6813) 2022-03-02 14:11:23 +08:00
Joshua Chen
954e4d42fc
fix(core): remove hash/query when filtering existing files for broken link check (#6812)
* fix(core): remove hash/query when filtering existing files for broken link check

* fix tests
2022-03-02 12:46:38 +08:00
dependabot[bot]
ea8590f80b
chore(deps): bump cssnano from 5.0.17 to 5.1.0 (#6793)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.17 to 5.1.0.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.17...cssnano@5.1.0)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 10:10:25 +08:00
dependabot[bot]
863097561d
chore(deps-dev): bump netlify-cli from 9.8.4 to 9.10.0 (#6795)
Bumps [netlify-cli](https://github.com/netlify/cli) from 9.8.4 to 9.10.0.
- [Release notes](https://github.com/netlify/cli/releases)
- [Changelog](https://github.com/netlify/cli/blob/main/CHANGELOG.md)
- [Commits](https://github.com/netlify/cli/compare/v9.8.4...v9.10.0)

---
updated-dependencies:
- dependency-name: netlify-cli
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 09:04:57 +08:00
dependabot[bot]
e5ede151a2
chore(deps): bump cssnano-preset-advanced from 5.1.12 to 5.2.0 (#6806)
Bumps [cssnano-preset-advanced](https://github.com/cssnano/cssnano) from 5.1.12 to 5.2.0.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano-preset-advanced@5.1.12...cssnano-preset-advanced@5.2.0)

---
updated-dependencies:
- dependency-name: cssnano-preset-advanced
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 09:02:05 +08:00
Joshua Chen
a4dc03edee
chore: upgrade dependencies (#6789)
* chore: upgrade dependencies

* upgrade setup-node
2022-03-01 10:40:34 +08:00
Joshua Chen
9d7ed31661
fix(mdx-loader): suppress image reading warning in Yarn PnP; log warning instead of error (#6779) 2022-02-28 10:49:53 +08:00
Joshua Chen
3e5da386ce
refactor: move test utils into test folder (#6777) 2022-02-27 19:05:44 +08:00