-
Notifications
You must be signed in to change notification settings - Fork 6
/
antora-playbook.yml
72 lines (64 loc) · 2.1 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
# Minimal configuration based on Antora Generator Template
# Source: https://code.asam.net/common/templates/antora-base-repo-example/-/blob/standard_generator/site.yml
# tag::site[]
site:
title: ASAM OpenMATERIAL
url: https://asam-ev.github.io/OpenMATERIAL/
start_page: asamopenmaterial:specification:index.adoc
# end::site[]
urls: # Creates a redirect for the newest version to the link "latest"
latest_version_segment_strategy: redirect:to
latest_version_segment: latest
# tag::content[]
content:
sources:
- url: https://code.asam.net/common/asam-terminology.git
start_path: .antora
tags: [v*,V*]
- url: .
start_path: .antora
# end::content[]
ui:
bundle:
url: https://code.asam.net/common/antora-ui/-/jobs/artifacts/main/raw/build/ui-bundle.zip?job=bundle-stable
snapshot: true
# supplemental_files: ./supplemental_ui # Activate this if you need to make local UI changes. Check the official Antora documentation for more information.
output:
clean: true
dir: ./site
runtime:
fetch: true
# tag::attributes[]
asciidoc:
attributes:
page-pagination: true
hide-uri-scheme: ""
kroki-server-url: 'http://kroki:8000'
kroki-fetch-diagram: ""
# Allow URI read to retrieve SVG on compilation
allow-uri-read: true
# use SVG unless otherwise specified
kroki-default-format: svg
# Make SVG inline so that we can get interactive (can be overridden by schema with "opts=none")
kroki-default-options: interactive
sectnums: "@"
xrefstyle: short@
listing-caption: Code
page-width-limit: none@
THIS_STANDARD: ASAM OpenMATERIAL
# end::attributes[]
extensions:
- asciidoctor-kroki
- './asam-antora-extensions/asam-asciidoctor_extensions.js'
- './asam-antora-extensions/asam-asciidoctor_extensions-registered.js'
antora:
extensions:
- require: '@antora/lunr-extension'
- require: './asam-antora-extensions/asam-antora_extension.js'
orphan_exceptions: '/'
numbered_titles: true
section_number_style: 'iso'
alternate_xref_style: 'full'
loft: true
local_to_global_references: false
bibliography: true