forked from numpy/numpy.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
38 lines (33 loc) · 1.24 KB
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Settings in the [build] context are global and are applied to all contexts
# unless otherwise overridden by more specific contexts.
[build.environment]
PYTHON_VERSION = "3.8"
# Same Hugo version as in .github/workflows/gh-pages.yml
HUGO_VERSION = "0.104.3"
# Here is another way to define context specific environment variables.
[context.deploy-preview.environment]
NUMPYORG_WITH_TRANSLATIONS = "1"
[[plugins]]
package = "netlify-plugin-checklinks"
[plugins.inputs]
todoPatterns = [" public/pt/user-surveys", " public/ja/user-surveys"]
####
## FIX: Removed so we can use new version of lighthouse
## ❯ Outdated plugins
## - @netlify/plugin-lighthouse@2.1.3: latest version is 3.2.0
## To upgrade this plugin, please remove it from "netlify.toml" and
## install it from the Netlify plugins directory instead (https://app.netlify.com/plugins)
#[[plugins]]
# package = "@netlify/plugin-lighthouse"
#
# # optional, fails build when a category is below a threshold
# [plugins.inputs.thresholds]
# performance = 0.4
# accessibility = 0.9
# best-practices = 0.9
# seo = 0.7
# pwa = 0.2
#
# # optional, deploy the lighthouse report to a path under your site
# [plugins.inputs]
# output_path = "reports/lighthouse.html"