-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
27 lines (22 loc) · 783 Bytes
/
netlify.toml
File metadata and controls
27 lines (22 loc) · 783 Bytes
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
# Netlify configuration for docs.ucon.dev
# This file is used when deploying the docs site from the ucon submodule
[build]
command = "git submodule update --init --recursive && pip install --upgrade pip setuptools setuptools_scm && pip install --no-build-isolation '.[docs]' && mkdocs build"
[build.environment]
PYTHON_VERSION = "3.12"
# Caching headers for static assets
[[headers]]
for = "/assets/*"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"
[[headers]]
for = "/*.html"
[headers.values]
Cache-Control = "public, max-age=0, must-revalidate"
# Security headers
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "strict-origin-when-cross-origin"