Skip to content

Commit fa5f8f1

Browse files
authored
Merge pull request #185 from sthaha/netlify
chore: create doc preview using netlify
2 parents 994bbaf + 7a06a57 commit fa5f8f1

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

netlify.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[build]
2+
publish = "site/"
3+
command = """
4+
export PATH="$PATH:~/.local/bin" &&
5+
python -m pip install hatch &&
6+
python -m hatch run build
7+
"""
8+
9+
[build.environment]
10+
PYTHON_VERSION = "3.12"
11+
12+
[[redirects]]
13+
from = "/*"
14+
to = "/404.html"
15+
status = 404

0 commit comments

Comments
 (0)