Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Add Localization for Jest Docs Website" #3439

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ types/**
website/build
website/node_modules
website/core/metadata*.js
website/i18n/*.js
website/src/jest/docs
website/src/jest/blog
44 changes: 0 additions & 44 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@
*~
/danger/node_modules/
/examples/*/node_modules/

/integration_tests/*/node_modules
/integration_tests/transform/*/coverage
/integration_tests/transform/*/node_modules

/node_modules

/packages/*/build/
/packages/*/coverage/
/packages/*/node_modules/
Expand All @@ -20,47 +17,6 @@
/website/src/jest/blog
/website/src/jest/docs
/website/yarn.lock

/website/i18n/*
!/website/i18n/en.json

/website/af
/website/ar
/website/ca
/website/cs
/website/da
/website/de
/website/el
/website/es-ES
/website/fa-IR
/website/fi
/website/fr
/website/he
/website/hu
/website/id-ID
/website/it
/website/ja
/website/ko
/website/mr-IN
/website/nl
/website/no-NO
/website/pl
/website/pt-BR
/website/pt-PT
/website/ro
/website/ru
/website/sk-SK
/website/sr
/website/sv-SE
/website/tr
/website/uk
/website/vi
/website/zh-Hans
/website/zh-Hant

/docs/*
!/docs/en

coverage
lerna-debug.log
npm-debug.log
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,8 @@ test('adds 1 + 2 to equal 3', () => {
Add the following section to your `package.json`:

```json
{
"scripts": {
"test": "jest"
}
"scripts": {
"test": "jest"
}
```

Expand Down
7 changes: 0 additions & 7 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,4 @@ deployment:
- git config --global user.email "jest-bot@users.noreply.github.com"
- git config --global user.name "Website Deployment Script"
- echo "machine github.com login jest-bot password $GITHUB_TOKEN" > ~/.netrc
# WEBSITE DEPLOY
- sudo apt-get install default-jre
- wget https://artifacts.crowdin.com/repo/deb/crowdin.deb -O crowdin.deb
- sudo dpkg -i crowdin.deb
# crowdin install end
- crowdin --config crowdin.yaml upload sources --auto-update -b master
- crowdin --config crowdin.yaml download -b master
- cd website && GIT_USER=jest-bot npm run gh-pages
48 changes: 0 additions & 48 deletions crowdin.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions docs/en/CLI.md → docs/CLI.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
id: cli
title: Jest CLI Options
layout: docs
layout: reference
category: API Reference
permalink: docs/en/cli.html
permalink: docs/cli.html
previous: configuration
---

Expand Down
4 changes: 2 additions & 2 deletions docs/en/Configuration.md → docs/Configuration.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
id: configuration
title: Configuring package.json
layout: docs
layout: reference
category: API Reference
permalink: docs/en/configuration.html
permalink: docs/configuration.html
previous: jest-object
next: cli
---
Expand Down
4 changes: 2 additions & 2 deletions docs/en/ExpectAPI.md → docs/ExpectAPI.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
id: expect
title: Expect
layout: docs
layout: reference
category: API Reference
permalink: docs/en/expect.html
permalink: docs/expect.html
previous: api
next: mock-function-api
---
Expand Down
2 changes: 1 addition & 1 deletion docs/en/GettingStarted.md → docs/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: getting-started
title: Getting Started
layout: docs
category: Introduction
permalink: docs/en/getting-started.html
permalink: docs/getting-started.html
next: using-matchers
---

Expand Down
4 changes: 2 additions & 2 deletions docs/en/GlobalAPI.md → docs/GlobalAPI.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
id: api
title: Globals
layout: docs
layout: reference
category: API Reference
permalink: docs/en/api.html
permalink: docs/api.html
next: expect
---

Expand Down
4 changes: 2 additions & 2 deletions docs/en/JestObjectAPI.md → docs/JestObjectAPI.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
id: jest-object
title: The Jest Object
layout: docs
layout: reference
category: API Reference
permalink: docs/en/jest-object.html
permalink: docs/jest-object.html
previous: mock-function-api
next: configuration
---
Expand Down
2 changes: 1 addition & 1 deletion docs/en/ManualMocks.md → docs/ManualMocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: manual-mocks
title: Manual Mocks
layout: docs
category: Guides
permalink: docs/en/manual-mocks.html
permalink: docs/manual-mocks.html
previous: timer-mocks
next: webpack
---
Expand Down
4 changes: 2 additions & 2 deletions docs/en/MigrationGuide.md → docs/MigrationGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: migration-guide
title: Migrating to Jest
layout: docs
category: Guides
permalink: docs/en/migration-guide.html
permalink: docs/migration-guide.html
previous: webpack
next: testing-frameworks
---
Expand All @@ -30,4 +30,4 @@ To transform your existing tests, navigate to the project containing the tests a
jest-codemods
```

More information can be found at https://github.com/skovhus/jest-codemods.
More information can be found at https://github.com/skovhus/jest-codemods.
4 changes: 2 additions & 2 deletions docs/en/MockFunctionAPI.md → docs/MockFunctionAPI.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
id: mock-function-api
title: Mock Functions
layout: docs
layout: reference
category: API Reference
permalink: docs/en/mock-function-api.html
permalink: docs/mock-function-api.html
previous: expect
next: jest-object
---
Expand Down
2 changes: 1 addition & 1 deletion docs/en/MockFunctions.md → docs/MockFunctions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: mock-functions
title: Mock Functions
layout: docs
category: Introduction
permalink: docs/en/mock-functions.html
permalink: docs/mock-functions.html
previous: setup-teardown
next: more-resources
---
Expand Down
2 changes: 1 addition & 1 deletion docs/en/MoreResources.md → docs/MoreResources.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: more-resources
title: More Resources
layout: docs
category: Introduction
permalink: docs/en/more-resources.html
permalink: docs/more-resources.html
previous: mock-functions
next: snapshot-testing
---
Expand Down
2 changes: 1 addition & 1 deletion docs/en/SetupAndTeardown.md → docs/SetupAndTeardown.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: setup-teardown
title: Setup and Teardown
layout: docs
category: Introduction
permalink: docs/en/setup-teardown.html
permalink: docs/setup-teardown.html
previous: asynchronous
next: mock-functions
---
Expand Down
2 changes: 1 addition & 1 deletion docs/en/SnapshotTesting.md → docs/SnapshotTesting.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: snapshot-testing
title: Snapshot Testing
layout: docs
category: Guides
permalink: docs/en/snapshot-testing.html
permalink: docs/snapshot-testing.html
next: tutorial-react
---

Expand Down
2 changes: 1 addition & 1 deletion docs/en/TestingAsyncCode.md → docs/TestingAsyncCode.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: asynchronous
title: Testing Asynchronous Code
layout: docs
category: Introduction
permalink: docs/en/asynchronous.html
permalink: docs/asynchronous.html
previous: using-matchers
next: setup-teardown
---
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/en/TimerMocks.md → docs/TimerMocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: timer-mocks
title: Timer Mocks
layout: docs
category: Guides
permalink: docs/en/timer-mocks.html
permalink: docs/timer-mocks.html
previous: tutorial-async
next: manual-mocks
---
Expand Down
4 changes: 1 addition & 3 deletions docs/en/Troubleshooting.md → docs/Troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ id: troubleshooting
title: Troubleshooting
layout: docs
category: Guides
permalink: docs/en/troubleshooting.html
permalink: docs/troubleshooting.html
previous: testing-frameworks
next: api

---

Uh oh, something went wrong? Use this guide to resolve issues with Jest.
Expand Down
2 changes: 1 addition & 1 deletion docs/en/TutorialAsync.md → docs/TutorialAsync.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: tutorial-async
title: An Async Example
layout: docs
category: Guides
permalink: docs/en/tutorial-async.html
permalink: docs/tutorial-async.html
previous: tutorial-react-native
next: timer-mocks
---
Expand Down
2 changes: 1 addition & 1 deletion docs/en/TutorialReact.md → docs/TutorialReact.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: tutorial-react
title: Testing React Apps
layout: docs
category: Guides
permalink: docs/en/tutorial-react.html
permalink: docs/tutorial-react.html
previous: snapshot-testing
next: tutorial-react-native
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: tutorial-react-native
title: Testing React Native Apps
layout: docs
category: Guides
permalink: docs/en/tutorial-react-native.html
permalink: docs/tutorial-react-native.html
previous: tutorial-react
next: tutorial-async
---
Expand Down
2 changes: 1 addition & 1 deletion docs/en/TutorialWebpack.md → docs/TutorialWebpack.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
id: tutorial-webpack
title: webpack
layout: redirect
permalink: docs/en/tutorial-webpack.html
permalink: docs/tutorial-webpack.html
destinationUrl: webpack.html
---
2 changes: 1 addition & 1 deletion docs/en/TutorialjQuery.md → docs/TutorialjQuery.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: tutorial-jquery
title: DOM Manipulation
layout: docs
category: Guides
permalink: docs/en/tutorial-jquery.html
permalink: docs/tutorial-jquery.html
next: mock-functions
---

Expand Down
2 changes: 1 addition & 1 deletion docs/en/UsingMatchers.md → docs/UsingMatchers.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: using-matchers
title: Using Matchers
layout: docs
category: Introduction
permalink: docs/en/using-matchers.html
permalink: docs/using-matchers.html
previous: getting-started
next: asynchronous
---
Expand Down
2 changes: 1 addition & 1 deletion docs/en/Webpack.md → docs/Webpack.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: webpack
title: Using with webpack
layout: docs
category: Guides
permalink: docs/en/webpack.html
permalink: docs/webpack.html
previous: manual-mocks
next: migration-guide
---
Expand Down
Loading