forked from syncthing/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
26 lines (22 loc) · 666 Bytes
/
netlify.toml
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
# Build HTML and man pages, put the man pages underneath html/man/ so they
# get served as well.
[build]
command = "./netlify-build.sh"
publish = "_build/html"
[build.environment]
GO_VERSION = "1.18"
# PDF artifacts are transparently proxied to the old server
[[redirects]]
from = "/pdf/*"
to = "https://web.syncthing.net/docs-pdf/:splat"
status = 200
# Branches are served from the old webserver
[[redirects]]
from = "/branch/*"
to = "https://web.syncthing.net/docs-branch/:splat"
status = 200
# Branches are served from the old webserver
[[redirects]]
from = "/branch/*"
to = "https://web.syncthing.net/docs-branch/:splat"
status = 200