From 5a0ce38bc6aac8fc12cc7f6ee50388b84a2b9c4e Mon Sep 17 00:00:00 2001 From: Harshal Sheth Date: Mon, 11 Sep 2023 13:29:31 -0700 Subject: [PATCH] docs: add 0.11 docs to docs site (#8813) Co-authored-by: Indy Prentice --- .github/workflows/documentation.yml | 1 + docs-website/build.gradle | 4 ++++ docs-website/versions.json | 1 + 3 files changed, 6 insertions(+) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 1cbc65f2b6370..68432a4feb13d 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -27,6 +27,7 @@ jobs: - uses: actions/setup-python@v4 with: python-version: "3.10" + cache: pip - name: Install Python dependencies run: ./metadata-ingestion/scripts/install_deps.sh - name: Build Docs diff --git a/docs-website/build.gradle b/docs-website/build.gradle index 851c10d9ea97f..370ae3eec9176 100644 --- a/docs-website/build.gradle +++ b/docs-website/build.gradle @@ -119,6 +119,10 @@ task yarnBuild(type: YarnTask, dependsOn: [yarnLint, yarnGenerate, downloadHisto outputs.dir("dist") // tell gradle to apply the build cache outputs.cacheIf { true } + // See https://stackoverflow.com/questions/53230823/fatal-error-ineffective-mark-compacts-near-heap-limit-allocation-failed-java + // and https://github.com/facebook/docusaurus/issues/8329. + // TODO: As suggested in https://github.com/facebook/docusaurus/issues/4765, try switching to swc-loader. + environment = ['NODE_OPTIONS': '--max-old-space-size=10248'] args = ['run', 'build'] } diff --git a/docs-website/versions.json b/docs-website/versions.json index 0b79ac9498e06..a5493c26a4c65 100644 --- a/docs-website/versions.json +++ b/docs-website/versions.json @@ -1,3 +1,4 @@ [ + "0.11.0", "0.10.5" ]