-
Notifications
You must be signed in to change notification settings - Fork 169
/
antora-playbook.yml
145 lines (125 loc) · 3.43 KB
/
antora-playbook.yml
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
site:
title: Apache Camel
url: https://camel.apache.org
# start_page: _@manual::index.adoc
content:
sources:
- url: https://github.com/apache/camel.git
branches: main
start_paths:
# manual
- docs/user-manual
# main website for camel core
- docs/main
- url: https://github.com/apache/camel.git
branches:
- main
- camel-4.8.x
- camel-4.4.x
- camel-3.22.x
start_paths:
# eip
- core/camel-core-engine/src/main/docs
# main components doc
- docs/components
# sub-projects
- url: https://github.com/apache/camel-k.git
# Let's keep latest active development + LTS active versions only
branches:
- main
- release-2.3.x
- release-2.4.x
- release-2.5.x
start_path: docs
- url: https://github.com/apache/camel-k-runtime.git
branches:
- main
- release-3.8.x
start_path: docs
- url: https://github.com/apache/camel-kamelets.git
branches:
- main
- 4.8.x
- 4.4.x
start_path: docs
- url: https://github.com/apache/camel-quarkus.git
branches:
- main
- 3.15.x
- 3.8.x
start_path: docs
- url: https://github.com/apache/camel-quarkus-examples.git
branches: main
start_path: docs
- url: https://github.com/apache/camel-kafka-connector.git
branches:
- main
- camel-kafka-connector-4.8.x
start_paths:
- docs
- connectors
- url: https://github.com/apache/camel-spring-boot.git
branches:
- main
- camel-spring-boot-4.8.x
- camel-spring-boot-4.4.x
- camel-spring-boot-3.22.x
start_paths:
- components-starter
- core
- docs/components
- docs/spring-boot
- url: https://github.com/apache/camel-karaf.git
branches:
- camel-karaf-3.22.x
start_path: docs
ui:
bundle:
url: ./antora-ui-camel/public/_
urls:
redirect_facility: httpd
latest_version_segment_strategy: redirect:from
latest_version_segment: latest
output:
dir: ./documentation
asciidoc:
attributes:
requires@: "'util=camel-website-util'"
# uncomment sb-statistics to see more info on camel spring boot list page such as non-spring-boot components.
# This also tests the output of unused camel-spring-boot json detection and fails the Antora build with errors.
# sb-statistics: on
extensions:
- ./extensions/table.js
- ./extensions/inline-styles.js
- "@asciidoctor/tabs"
runtime:
log:
level: warn
failure_level: warn
# format: json
antora:
extensions:
- require: '@djencks/antora-aggregate-collector'
# log_level: trace
componentversions:
- name: components
version: '*'
local-mappings: ac-mappings.yml
- name: camel-spring-boot
version: '*'
local-mappings: ac-mappings.yml
- name: camel-kafka-connector
version: '*'
local-mappings: ac-mappings.yml
- require: '@djencks/asciidoctor-jsonpath'
# log_level: trace
- require: '@djencks/asciidoctor-antora-indexer'
# log_level: debug
requires: 'util=camel-website-util'
index_pages:
- local:
component: camel-kafka-connector
path: indexPages.yml
- local:
component: camel-kamelets
path: indexPages.yml