mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-27 17:37:45 +01:00
75c6a90c76
This reverts commit 3d78aecc47
.
Turns out that there's a time limit on builds, and sphinx output has a
whole lot of JS that gets bundled and minified.
We end up running up against the time limit and the whole build fails.
Therefore, revert it.
19 lines
435 B
TOML
19 lines
435 B
TOML
[build]
|
|
publish = "_build/html"
|
|
command = "make netlify"
|
|
environment = { BASE_URL = "https://esphome.io" }
|
|
|
|
[context.beta]
|
|
environment = { BASE_URL = "https://beta.esphome.io" }
|
|
|
|
[context.next]
|
|
environment = { BASE_URL = "https://next.esphome.io" }
|
|
|
|
[context.production]
|
|
environment = { BASE_URL = "https://esphome.io", PRODUCTION = "YES" }
|
|
|
|
# A basic redirect rule
|
|
[[redirects]]
|
|
from = "/esphomeyaml/*"
|
|
to = "/:splat"
|