-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathantora-playbook-schema.dhall
75 lines (63 loc) · 1.6 KB
/
antora-playbook-schema.dhall
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
let Map = https://prelude.dhall-lang.org/Map/Type
let Robots = < allow | disallow | Custom : Text >
let Site =
{ title : Text
, url : Text
, start_page : Optional Text
, keys : Optional (Map Text Text)
, robots : Optional Robots
}
let Source =
{ url : Text
, branches : Optional (List Text)
, tags : Optional (List Text)
, start_path : Optional Text
}
let Content =
{ branches : Optional (List Text)
, tags : Optional (List Text)
, edit_url : Optional Text
, sources : List Source
}
let Asciidoc =
Optional
{ attributes : Optional (Map Text Text)
, extensions : Optional (List Text)
}
let Ui =
{ bundle :
{ url : Text, snapshot : Optional Bool, start_path : Optional Text }
, default_layout : Optional Text
, output_dir : Optional Text
, supplemental_files : Optional Text
}
let RedirectFacility = < disabled | netlify | nginx | static >
let Urls = Optional { redirect_facility : RedirectFacility }
let Output =
Optional
{ clean : Optional Bool
, dir : Optional Text
, destinations : List { provider : Text }
}
let Runtime = Optional { cache_dir : Optional Text, fetch : Optional Bool }
let Playbook =
{ site : Site
, content : Content
, asciidoc : Asciidoc
, ui : Ui
, urls : Urls
, output : Output
, runtime : Runtime
}
in { Playbook
, Site
, Source
, Content
, Asciidoc
, Ui
, Urls
, Output
, Runtime
, Robots
, RedirectFacility
}