forked from decidim/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
57 lines (44 loc) · 1.4 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[build]
publish = "build/site/"
command = "node_modules/.bin/antora --generator antora-site-generator-lunr --stacktrace --fetch --html-url-extension-style=indexify antora-playbook.yml"
[build.environment]
NODE_VERSION = "14"
BUILD_ONLY = "true"
ANTORA_CACHE_DIR = "node_modules/.cache/antora"
DOCSEARCH_ENABLED = "true"
DOCSEARCH_ENGINE = "lunr"
[context.deploy-preview]
command = "sed -i'' -e 's;branches: master;branches: HEAD;g' antora-playbook.yml && node_modules/.bin/antora --generator antora-site-generator-lunr --stacktrace --fetch --html-url-extension-style=indexify --url $DEPLOY_PRIME_URL antora-playbook.yml"
[[redirects]]
from = "/social-contract/en/*"
to = "/en/understand/social-contract/"
[[redirects]]
from = "/features/en/*"
to = "/en/features/:splat"
[[redirects]]
from = "/features/es/*"
to = "/en/features/:splat"
[[redirects]]
from = "/features/ca/*"
to = "/en/features/:splat"
[[redirects]]
from = "/features/"
to = "/en/features/general-description/"
[[redirects]]
from = "/whitepaper/en/*"
to = "/en/whitepaper/"
[[redirects]]
from = "/deploy-and-admin/en/get-decidim/"
to = "/en/install/"
[[redirects]]
from = "/admin-manual/en/*"
to = "/en/admin/:splat"
[[redirects]]
from = "/develop/en/"
to = "/en/develop/guide/"
[[redirects]]
from = "/develop/en/advanced/*"
to = "/en/develop/:splat"
[[redirects]]
from = "/init/en/"
to = "/en/"