diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c254d07085e6..3810117d329f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -194,7 +194,7 @@ The best way to get your bug fixed is to provide a reduced test case. Please pro ### Docs translation -We get translations from crowdin, see https://crowdin.com/project/jest. Any and all help is very much appreciated! +We get translations from Crowdin, see https://crowdin.com/project/jest-v2. Any and all help is very much appreciated! ### Security Bugs diff --git a/website/blog/2017-05-06-jest-20-delightful-testing-multi-project-runner.md b/website/blog/2017-05-06-jest-20-delightful-testing-multi-project-runner.md index f9932405af0f..bf14c34e6fb0 100644 --- a/website/blog/2017-05-06-jest-20-delightful-testing-multi-project-runner.md +++ b/website/blog/2017-05-06-jest-20-delightful-testing-multi-project-runner.md @@ -75,7 +75,7 @@ As with every major release, we are making a number of breaking changes to make ## Other Improvements - **Documentation:** Documentation is critical to share best practices and teach everyone how to write effective tests which will lead to better software. Over the last few weeks we have also expanded Jest's documentation to include a Snapshot Testing FAQ, a guide with information about how to use Jest with common JavaScript libraries as well as we documented the new features mentioned above. -- **Translations:** We are now asking for your help to [translate the Jest documentation](https://crowdin.com/project/jest) to make it easier for people to learn how to use Jest. +- **Translations:** We are now asking for your help to [translate the Jest documentation](https://crowdin.com/project/jest-v2) to make it easier for people to learn how to use Jest. - **Custom Reporters:** Jest now supports custom test reporters through the `reporters` configuration option. You can finally customize the output of Jest as well as integrate it with other tools by generating reports in formats such as XML. [See documentation](/docs/configuration#reporters-array-modulename-modulename-options). - **Codebase Health:** It was only possible iterate so quickly in Jest because we spent a significant amount of time on the health of the codebase. We were one of the early adopters of [prettier](https://github.com/prettier/prettier), we notably increased flow coverage, forked Jasmine to improve our test runner library and we rewrote and refactored significant portions of Jest itself to set up Jest for success in the future. - **Bugfixes:** As always, we made plenty of bugfixes in Jest. The full changelog can be found in the [Jest repository](https://github.com/facebook/jest/blob/master/CHANGELOG.md#jest-2000). diff --git a/website/blog/2021-03-09-jest-website-upgrade.md b/website/blog/2021-03-09-jest-website-upgrade.md new file mode 100644 index 000000000000..1b580950420c --- /dev/null +++ b/website/blog/2021-03-09-jest-website-upgrade.md @@ -0,0 +1,49 @@ +--- +title: 'Jest Website Upgrade' +author: Sébastien Lorber +authorTitle: Docusaurus maintainer +authorURL: https://sebastienlorber.com +authorImageURL: https://github.com/slorber.png +--- + +We are excited to present the **new Jest website**! + +The Jest site was upgraded from **[Docusaurus 1](https://v1.docusaurus.io/)** to **[Docusaurus 2](https://v2.docusaurus.io/)**, and is an early adopter of the [newly released Docusaurus 2 i18n support](https://v2.docusaurus.io/blog/2021/03/09/releasing-docusaurus-i18n). + +So, what's new exactly? + + + +## What's new? + +Here's a good overview of the most visible improvements: + +- **Dark Mode**: change the color scheme through the navbar switch. + +- **Modern navigation**: we improved the navigation experience with **client-side routing** and **prefetching**. + +- **Versions dropdown**: it is now simpler to switch from one Jest version to another. + +- **Progressive-Web-App**: you can install the Jest website and browse it offline. + +- **Search**: try the new Algolia **DocSearch v3** user-experience. It is now possible to **search in blog posts**. + +- **I18n**: Jest is the first website using the **[new i18n feature of Docusaurus 2](https://v2.docusaurus.io/docs/next/i18n/introduction)**. It is now possible to **translate blog posts**. + +- **MDX**: embedding React components in Markdown will allow maintainers to make the **documentation more interactive**. + +## For site translators + +If you want to help to translate the new Jest website, please use the new Crowdin project [jest-v2](https://crowdin.com/project/jest-v2) instead of the previous one. + +:::note + +In localized pages, the edit button now links directly to Crowdin. + +::: + +## Thanks + +Thanks to all the contributors that supported or reviewed this migration: [Simen](https://github.com/SimenB), [Orta](https://github.com/orta), [Joel](https://github.com/JoelMarcey), [Kristoffer](https://github.com/merceyz)... + +Please report any problem on the [migration issue](https://github.com/facebook/jest/pull/11021).