docs/netlify.toml

24 lines
548 B
TOML

[build]
base = "/"
publish = "public/"
command = "hugo --minify "
[[redirects]]
from = "/docs/*"
to = "/:splat"
status = 302
[context.deploy-preview]
command = "bash netlify_build.sh"
[context.production]
command = "bash netlify_build.sh"
# Use [dev] to set configuration overrides for local
# development environments run using Netlify Dev - except
# for environment variables. Environment variables for Netlify
# Dev should be set under [context.dev.environment] instead.
[dev]
command = "hugo server"
port = 8888