Skip to content

Commit

Permalink
Disable experimental optimizations (#3328)
Browse files Browse the repository at this point in the history
Summary:
I previously added this to resolve issues with building when we have many versions of our docs. While this works locally we've been seeing [failures to build in GHA](https://github.com/facebook/Ax/actions/runs/13164146992/job/36740052914). Some debugging pointed to this being the issue, so let's disable for now. The Docusaurus team is actively working on speeding up build time and plans to roll out these optimizations as they become more stable.

I tested this by adding a test workflow to build the website using these changes in a separate PR for debugging
- PR: #3303
- Successful workflow run: https://github.com/facebook/Ax/actions/runs/13206354540/job/36870297699

See this commit for when I added these options: CristianLara@d04a3b2

See Docusaurus's "faster" initiative: facebook/docusaurus#10556

Pull Request resolved: #3328

Reviewed By: saitcakmak

Differential Revision: D69320211

Pulled By: CristianLara

fbshipit-source-id: ce72b3c389dd8694746fbdc106c1f1e43c7c1ca3
  • Loading branch information
CristianLara authored and facebook-github-bot committed Feb 7, 2025
1 parent 50c83be commit 2d0d2ef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish_website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
required: true
type: boolean
workflow_dispatch:
inputs:
run_tutorials:
required: true
type: boolean
Expand Down
3 changes: 0 additions & 3 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ module.exports={
},
"onBrokenLinks": "throw",
"onBrokenMarkdownLinks": "warn",
"future": {
"experimental_faster": true,
},
"presets": [
[
"@docusaurus/preset-classic",
Expand Down
5 changes: 2 additions & 3 deletions website/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"scripts": {
"examples": "docusaurus-examples",
"start": "DOCUSAURUS_IGNORE_SSG_WARNINGS=true docusaurus start",
"build": "DOCUSAURUS_IGNORE_SSG_WARNINGS=true docusaurus build",
"start": "docusaurus start",
"build": "docusaurus build",
"publish-gh-pages": "docusaurus-publish",
"write-translations": "docusaurus-write-translations",
"version": "docusaurus-version",
Expand All @@ -16,7 +16,6 @@
"devDependencies": {},
"dependencies": {
"@docusaurus/core": "3.6.3",
"@docusaurus/faster": "3.6.3",
"@docusaurus/plugin-client-redirects": "3.6.3",
"@docusaurus/preset-classic": "3.6.3",
"clsx": "^1.1.1",
Expand Down

0 comments on commit 2d0d2ef

Please sign in to comment.