esphome-docs/netlify.toml
Flaviu Tamas 75c6a90c76
Revert "Process files with netlify (#1841)" (#1842)
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.
2022-01-24 00:38:44 +00:00

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"