Skip to content

Commit

Permalink
Archive docs versions 29.3 and below (#14425)
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Aug 18, 2023
1 parent 9c8fdbb commit eb61702
Show file tree
Hide file tree
Showing 301 changed files with 13 additions and 89,725 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"clean-all": "yarn clean-e2e && yarn build-clean && rimraf --glob './packages/*/node_modules' && rimraf './node_modules'",
"clean-e2e": "node ./scripts/cleanE2e.mjs",
"crowdin:upload": "echo 'Uploading sources to Crowdin' && crowdin upload sources --config ./crowdin.yaml",
"crowdin:download": "echo 'Downloading translations from Crowdin' && crowdin download --config ./crowdin.yaml",
"crowdin:download": "echo 'Downloading translations from Crowdin' && crowdin download --config ./crowdin.yaml --language ja --language es-ES --language fr --language pt-BR --language ro --language ru --language uk --language zh-CN",
"jest": "node ./packages/jest-cli/bin/jest.js",
"jest-jasmine": "JEST_JASMINE=1 yarn jest",
"jest-jasmine-ci": "yarn jest-jasmine --color --config jest.config.ci.mjs",
Expand Down
8 changes: 8 additions & 0 deletions website/archivedVersions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"29.3": "https://jest-archive-august-2023.netlify.app/docs/29.3/getting-started/",
"29.2": "https://jest-archive-august-2023.netlify.app/docs/29.2/getting-started/",
"29.1": "https://jest-archive-august-2023.netlify.app/docs/29.1/getting-started/",
"29.0": "https://jest-archive-august-2023.netlify.app/docs/29.0/getting-started/",
"28.x": "https://jest-archive-august-2023.netlify.app/docs/28.x/getting-started/",
"27.x": "https://jest-archive-august-2023.netlify.app/docs/27.x/getting-started/",
"26.x": "https://jest-archive-august-2023.netlify.app/docs/26.x/getting-started/",
"25.x": "https://jest-archive-august-2023.netlify.app/docs/25.x/getting-started/",
"24.x": "https://archive.jestjs.io/docs/en/24.x/getting-started.html",
"23.x": "https://archive.jestjs.io/docs/en/23.x/getting-started.html",
"22.x": "https://archive.jestjs.io/docs/en/22.x/getting-started.html"
Expand Down
2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ const config = {
dropdownItemsAfter: [
...Object.entries(ArchivedVersions).map(
([versionName, versionUrl]) => ({
to: versionUrl,
href: versionUrl,
label: versionName,
})
),
Expand Down
3 changes: 2 additions & 1 deletion website/src/pages/versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ export default function VersionsPage() {
</table>
<h3 id="archive">Archived Versions</h3>
<p>
Here you can find documentation for archived versions of Jest.
Here you can find archived documentation for older versions of
Jest.
</p>
<table>
<tbody>
Expand Down
16 changes: 0 additions & 16 deletions website/versioned_docs/version-25.x/Architecture.md

This file was deleted.

58 changes: 0 additions & 58 deletions website/versioned_docs/version-25.x/BypassingModuleMocks.md

This file was deleted.

Loading

0 comments on commit eb61702

Please sign in to comment.