-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsite.yml
53 lines (48 loc) · 1.67 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
# note that this site.yml file is for local building and testing only
site:
title: ownCloud Android App Documentation
url: https://doc.owncloud.com
start_page: android::index.adoc
content:
sources:
- url: .
branches:
- HEAD
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-android-version: 'next@' # do not change, soft set, correctly defined via antora.yml
previous-android-version: 'next@' # do not change, soft set, correctly defined via antora.yml
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