Commit Graph

5217 Commits

Author SHA1 Message Date
sebastienlorber a80f5a7b05 Merge branch 'docusaurus-v2' into slorber/port-v2-netlify-changes 2022-07-15 13:05:51 +02:00
Sébastien Lorber 2ef40c2598
chore: Netlify branch deploys should only deploy default locale "en" (#7788) 2022-07-15 12:45:08 +02:00
Sébastien Lorber d88f248180
chore: add Netlify config for major version branch deploys (docusaurus-v2 branch) (#7787) 2022-07-15 12:10:36 +02: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
sebastienlorber e4fc47bec2 Merge branch 'main' into docusaurus-v2 2022-07-14 19:51:47 +02:00
Sébastien Lorber 7f40350d6e
chore: fix codesandbox playgrounds, use Node.js 16 version (#7784) 2022-07-14 19:51:32 +02: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 e78a15eeba
chore: ci tests should run on version branches "docusaurus-vX" (#7783) 2022-07-14 19:18:46 +02:00
Sébastien Lorber c751bc64ea
chore: regen v2.0.0-rc.1 examples (#7780) 2022-07-14 18:46:12 +02:00
Sébastien Lorber d255389e48
chore: prepare v2.0.0-rc.1 release (#7778) 2022-07-14 18:17:25 +02:00
Bruce Song 443914a579
docs: add Bruce Wiki website to showcase (#7770)
* Update users.tsx

* Add preview image.

* Resize the image.

* Trigger the checks for CLA.

* optimize image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-07-14 23:09:56 +08: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
Sébastien Lorber 9788944df4
refactor(theme): fix duplicate page metadata usage (#7777) 2022-07-14 14:44:45 +02:00
Sébastien Lorber c48f33800c
fix(core): swizzle --eject js should not copy theme .d.ts files (#7776) 2022-07-14 12:23:06 +02:00
Joshua Chen c3d2e0d30b
fix(sitemap): complete gracefully when all pages have noIndex meta (#7774) 2022-07-14 08:59:01 +08:00
Sébastien Lorber 665c3117af
chore: bump Infima to 0.2.0-alpha.42, fix a:hover link bug (#7771) 2022-07-13 13:57:35 +02:00
The Nguyen 1899a2e9e8
docs: add EverShop website to showcase (#7765)
* docs: add EverShop website to showcase

* docs: add EverShop website to showcase

* fixes

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-07-13 18:06:08 +08:00
Wes McNamee 542228ee1b
fix(deploy): revert "feat(deploy): copy local git config to tmp repo (#7702)" (#7750) 2022-07-12 14:06:18 +02:00
Joshua Chen a4b4a7f28d
fix(migrate): import siteConfig with file extension (#7766)
* fix(migrate): import siteConfig with file extension

* fix test

* Revert "fix test"

This reverts commit f5d00ab0e6.
2022-07-12 16:08:20 +08:00
Sunghyun Cho 337463ae1c
chore(theme-translations): complete ko translations (#7762)
* Improve Algolia Search Korean Translations

* Update theme-search-algolia.json

* Remove Duplicate Colon

* remove redundnacy

* Update theme-search-algolia.json

* Translate Search By

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-07-12 12:33:01 +08:00
dependabot[bot] 9467da6b1a
chore(deps): bump actions/setup-node from 3.3.0 to 3.4.0 (#7764)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](eeb10cff27...5b949b50c3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  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-07-12 09:53:29 +08:00
Joshua Chen cba8be01a3
fix(theme-classic): validate options properly (#7755)
* fix(theme-classic): validate options properly

* improve normalization

* fix doc
2022-07-11 19:24:46 +08:00
Joshua Chen 636d47060e
refactor(core): use has instead of get to test for existence in ExecEnv (#7763)
refactor(core): use has instead of get to test for existence
2022-07-11 19:19:17 +08:00
Jeffrey Aven f21dadf621
docs: add StackQL Provider Registry to showcase (#7760)
* Added StackQL Provider Registry doc site

* added StackQL Provider Registry image

* fixes

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-07-11 19:17:25 +08:00
Arthur Brugière 1ad97843ac
fix(algolia-search): test for canUseIntersectionObserver (#7761)
[FIX] Update observer condition

Replace condition canUseDOM to canUseIntersectionObserver as check is done for IntersectionObserver usage
2022-07-11 19:03:54 +08:00
凱恩Kane ee98512083
docs: move Yeecord repo to organization (#7758)
move repo to organization
2022-07-11 19:02:58 +08:00
Evan 5c724f2df6
docs: update evantay showcase image (#7757)
* docs: update evantay showcase image

* optimize image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-07-11 19:02:33 +08:00
LichLord91 cd7da6113e
fix(theme-classic): fix Layout theme height CSS (#7752)
* fix(theme-classic):  fix Layout theme css height

This fixes html and body tags height from bug report

https://github.com/facebook/docusaurus/issues/7746

* Update styles.module.css

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-07-10 00:32:48 +08:00
Joshua Chen 07641ae53d
chore: upgrade dependencies (#7754) 2022-07-10 00:32:32 +08:00
Sébastien Lorber e62d5e3f48
chore: regenerate beta.22 examples (#7742) 2022-07-08 19:08:17 +02:00
Sébastien Lorber f0f97f29f9
chore: prepare v2.0.0-beta.22 release (#7741) 2022-07-08 18:34:05 +02:00
Sébastien Lorber d3d22d3a72
refactor(theme): nest theme icons under subfolder @theme/Icon/* (#7740) 2022-07-08 16:56:53 +02:00
Sébastien Lorber c3ff131110
refactor(theme): split BlogPostItem into smaller theme subcomponents (#7716) 2022-07-08 13:28:53 +02:00
Rein van Haaren c7f18801da
feat(theme-translations): Dutch translation (#7732)
Dutch translation
2022-07-08 13:47:47 +08:00
SheetJSDev ad1d2d2ab1
docs: swizzle react-live with eject (#7739)
docs: swizzle react-live with eject (#7735)
2022-07-08 12:55:39 +08:00
Huy Nguyen 2e83a1b522
docs: add Mixcore CMS to showcase (#7730)
* Update users.tsx

* add screenshot

* Update website/src/data/users.tsx

* Update website/src/data/users.tsx

* optimize image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-07-07 15:58:11 +08:00
Forresst a9406e7cb9
fix(theme-translations): improve fr translation (#7731) 2022-07-07 15:48:47 +08:00
赤城结衣 bb110e5400
fix(theme-translations): improve grammar of zh translation (#7696)
* fix: a grammar mistake

* Update packages/docusaurus-theme-translations/locales/zh-Hans/theme-common.json

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-07-07 11:52:00 +08:00
Sunghyun Cho a25e18ce32
fix(theme): show blog post edit link even when no tag & not truncated (#7727)
Show edit link even when no tag & not truncated.
2022-07-06 18:46:49 +02:00
pincman f224d3c669
docs: add pincman site to showcase (#7718)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-07-06 18:38:10 +02:00
Forresst ae2ba5e37a
feat(algolia-search): allow translating search modal (#7666)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-07-06 18:21:55 +02:00
Sébastien Lorber 713dcdf7a8
refactor(types): split into multiple files (#7710) 2022-07-06 18:00:57 +02:00
Sébastien Lorber bc0538f6fa
refactor(theme-common): move useDocsPreferredVersion() to public api (#7729) 2022-07-06 17:58:18 +02:00
Joshua Schmitt 8a72b769b1
chore: bump devcontainer to node 18 (#7726)
* fix: bump devcontainer to node 16

* fix: bump devcontainer directly to nodejs 18
2022-07-06 16:32:08 +08:00
dependabot[bot] 3a3ce254ce
chore(deps): bump github/codeql-action from 2.1.14 to 2.1.15 (#7724)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.14 to 2.1.15.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](41a4ada31b...3f62b754e2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-05 11:31:00 +08:00
Joshua Chen 426b023f11
docs: add GitHub pages deployment troubleshooting guide (#7723) 2022-07-04 22:45:04 +08:00
Joshua Chen fa22927250
chore: upgrade dependencies (#7684)
* chore: upgrade dependencies

* fix

* reupgrade

* downgrade
2022-07-04 19:36:43 +08:00
Johnie Hjelm 61f769ea52
feat(theme-translations): Swedish translation (#7715) 2022-07-03 13:32:43 +08:00
Wes McNamee ee376d19f6
feat(deploy): copy local git config to tmp repo (#7702) 2022-07-01 15:17:23 +02:00