From 32300efccde4819e122b2186405f3850e732099c Mon Sep 17 00:00:00 2001 From: Jack Franklin Date: Fri, 8 Oct 2021 14:39:49 +0100 Subject: [PATCH] chore: reduce docusaurus versions that we generate (#7657) The Docusaurus process has been OOMing on the bots; this is a problem we'll want to fix properly when we are shipping the new docs fully, as we want to generate docs for old versions; but for now whilst we're not fully pushing users to this site, we can just generate one version and not worry about multiples. This commit also bumps the version of Docusaurus to the latest beta version. --- .eslintignore | 1 + website/package.json | 4 ++-- website/versions.json | 4 +--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.eslintignore b/.eslintignore index 2c0895e1..a6257f0e 100644 --- a/.eslintignore +++ b/.eslintignore @@ -14,3 +14,4 @@ vendor/ web-test-runner.config.mjs test-ts-types/ website/ +docs-dist/ diff --git a/website/package.json b/website/package.json index 72f6d550..e1e0542f 100644 --- a/website/package.json +++ b/website/package.json @@ -13,8 +13,8 @@ "write-heading-ids": "docusaurus write-heading-ids" }, "dependencies": { - "@docusaurus/core": "2.0.0-beta.3", - "@docusaurus/preset-classic": "2.0.0-beta.3", + "@docusaurus/core": "^2.0.0-beta.6", + "@docusaurus/preset-classic": "^2.0.0-beta.6", "@mdx-js/react": "^1.6.21", "@svgr/webpack": "^5.5.0", "clsx": "^1.1.1", diff --git a/website/versions.json b/website/versions.json index 41b59d11..45e8d45f 100644 --- a/website/versions.json +++ b/website/versions.json @@ -1,5 +1,3 @@ [ - "10.1.0", - "10.0.0", - "9.1.1" + "10.4.0" ]