-
Notifications
You must be signed in to change notification settings - Fork 89
/
Copy pathsite.yml
81 lines (76 loc) · 2.35 KB
/
site.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
site:
title: Documentation for ownCloud (A Kiteworks Company)
url: https://doc.owncloud.com
# the site's landing page resides in the docs_main repository/component
# but it MUST be named ROOT to get a component/version less than the landing page
# this now makes the landing page reside in the url given above WITHOUT getting redirected
# see: https://docs.antora.org/antora/latest/page/start-page/
# see: https://docs.antora.org/antora/latest/component-name-key/#root-component
start_page: ROOT::index.adoc
# define all content sources
# note that branches must already exist if changed here
content:
sources:
- url: https://github.com/owncloud/docs-main.git
branches:
- master
- url: https://github.com/owncloud/docs-server.git
branches:
- master
- '10.15'
- '10.14'
- url: https://github.com/owncloud/docs-ocis.git
branches:
- master
- '7.0'
- '5.0'
- url: https://github.com/owncloud/docs-webui.git
branches:
- master
- url: https://github.com/owncloud/docs-client-desktop.git
branches:
- master
- '5.3'
- '5.2'
- url: https://github.com/owncloud/docs-client-ios-app.git
branches:
- master
- '12.3'
- '12.2'
- url: https://github.com/owncloud/docs-client-android.git
branches:
- master
- '4.4'
- '4.3'
- url: https://github.com/owncloud/docs-client-branding.git
branches:
- master
ui:
supplemental_files: overlay
output_dir: assets
bundle:
snapshot: true
url: https://minio.owncloud.com/documentation/ui-bundle.zip
output:
clean: true
dir: public
asciidoc:
attributes:
# branch-specific-variables: 'see antora.yml'
# global attributes loaded via antora extension
extensions:
- ./ext-asciidoc/tabs.js
- ./ext-asciidoc/remote-include-processor.js
- asciidoctor-kroki # integrated via npm
antora:
extensions:
- ./ext-antora/generate-index.js
- ./ext-antora/comp-version.js
- require: ./ext-antora/load-global-site-attributes.js
#attributefile: https://raw.githubusercontent.com/owncloud/docs/refs/heads/master/global-attributes.yml
attributefile: ./global-attributes.yml
enabled: true
# for testing only, prints out attributes used
# use only one or the other, output can be big
#- ./ext-antora/attributes-used-in-site-yml.js
#- ./ext-antora/attributes-used-in-antora-yml.js