-
Notifications
You must be signed in to change notification settings - Fork 177
/
netlify.toml
34 lines (28 loc) · 1020 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
26
27
28
29
30
31
32
33
34
# Settings in the [build] context are global and are applied to
# all contexts unless otherwise overridden by more specific contexts.
[build]
# Directory to change to before starting a build.
base = "docs/"
# Directory that contains the deploy-ready HTML files and
# assets generated by the build. This is relative to the base
# directory.
publish = "_build/dirhtml"
# Default build command.
command = "make dirhtml"
environment = { PYTHON_VERSION = "3.10" }
# Production context: all deploys from the Production branch
# set in your site’s Branches settings in the UI will inherit
# these settings.
[context.production]
publish = "_build/dirhtml"
command = "make dirhtml"
# Deploy Preview context: all deploys generated from
# a pull/merge request will inherit these settings.
[context.deploy-preview]
publish = "_build/dirhtml"
# The following redirect is intended for use with most SPAs
# that handle routing internally.
[[redirects]]
from = "/*"
to = "/index.html"
status = 200