-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsite.yml
61 lines (56 loc) · 1.89 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
site:
title: ownCloud User Interfaces
url: https://doc.owncloud.com
start_page: webui::index.adoc
content:
sources:
- url: .
branches:
- HEAD
# the docs-server git is just present for the test build to satisfy used references
# the real build is made in the docs repo using correct values
- url: https://github.com/owncloud/docs-server.git
branches:
- master
ui:
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
latest-webui-version: 'next' # do not change
previous-webui-version: 'next' # do not change
# server
latest-server-version: 'next' # do not change
previous-server-version: 'next' # do not change
current-server-version: 'next' # do not change
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
- require: ./ext-antora/find-orphaned-files.js
#printavailable: true
#excludeextension: ['.png', '.gif']
#falsepositives: ./false-positives.txt
pathfilter: ['modules/admin_manual', 'modules/developer_manual']
excludecomponents: ['server']
stopafterfind: true
enabled: false
# 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