Skip to content

Commit

Permalink
Website: add netlify.toml (#6432)
Browse files Browse the repository at this point in the history
## What's the problem this PR addresses?

Some Netlify settings are unclear because they are set through Netlify
UI

## How did you fix it?

Created a `netlify.toml` to capture these settings

## Checklist

<!--- Don't worry if you miss something, chores are automatically
tested. -->
<!--- This checklist exists to help you remember doing the chores when
you submit a PR. -->
<!--- Put an `x` in all the boxes that apply. -->
- [x] I have read the [Contributing
Guide](https://yarnpkg.com/advanced/contributing).

<!-- See
https://yarnpkg.com/advanced/contributing#preparing-your-pr-to-be-released
for more details. -->
<!-- Check with `yarn version check` and fix with `yarn version check
-i` -->
- [x] I have set the packages that need to be released for my changes to
be effective.

<!-- The "Testing chores" workflow validates that your PR follows our
guidelines. -->
<!-- If it doesn't pass, click on it to see details as to what your PR
might be missing. -->
- [x] I will check that all automated PR checks pass before the PR gets
reviewed.
  • Loading branch information
clemyan authored Oct 2, 2024
1 parent 33f249b commit 80052a0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/docusaurus/netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[build]
publish = 'packages/docusaurus/build'
command = 'yarn packages/docusaurus build --no-minify'

[build.environment]
NODE_VERSION = '18.16'
NODE_OPTIONS = '--max-old-space-size=4096'
DOCUSAURUS_SSR_CONCURRENCY = '1'

[build.processing.html]
pretty_urls = false

0 comments on commit 80052a0

Please sign in to comment.