forked from scientific-python/specs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
25 lines (23 loc) · 832 Bytes
/
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
[build.environment]
PYTHON_VERSION = "3.8" # netlify currently only support 2.7 and 3.8
HUGO_VERSION = "0.126.2"
DART_SASS_VERSION = "1.77.5"
DART_SASS_URL = "https://github.com/sass/dart-sass/releases/download/"
[build]
base = "/"
publish = "public"
command = """\
export DART_SASS_TARBALL="dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz" && \
(cd /tmp && \
curl -LJO ${DART_SASS_URL}/${DART_SASS_VERSION}/${DART_SASS_TARBALL} && \
tar -xf ${DART_SASS_TARBALL} && \
rm ${DART_SASS_TARBALL}) && \
export PATH=/tmp/dart-sass:$PATH && \
export PREVIEW_DEST="../build" && \
make preview-build && \
mv ../build/public . \
"""
[[plugins]]
package = "netlify-plugin-checklinks"
[plugins.inputs]
skipPatterns = ['https://fonts.gstatic.com', 'https://fonts.googleapis.com']