-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathantora-playbook.yml
More file actions
51 lines (46 loc) · 1.81 KB
/
antora-playbook.yml
File metadata and controls
51 lines (46 loc) · 1.81 KB
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
site:
title: Lazyval Documentation
url: https://qualityminds.github.io/lazyval
start_page: lazyval::index.adoc
content:
sources:
- url: ./
branches: HEAD
start_path: _documentation
antora:
extensions:
- '@antora/collector-extension'
asciidoc:
extensions:
- '@asciidoctor/tabs'
attributes:
# Make examples accessible
examples-dir: examples
ui:
bundle:
url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable
snapshot: false
supplemental_files:
# needed to get rid of stuff in the default template
# map your custom header-content.hbs explicitly as a virtual file as simple "- path" will not work together
# with the additional setup for asciidoctor-tabs
- path: partials/header-content.hbs
contents: ./_documentation/supplemental-ui/partials/header-content.hbs
# the following configures asciidoctor-tabs for antora
# see https://github.com/asciidoctor/asciidoctor-tabs/blob/main/docs/use-with-antora.adoc
- path: css/vendor/tabs.css
contents: ./node_modules/@asciidoctor/tabs/dist/css/tabs.css
- path: js/vendor/tabs.js
contents: ./node_modules/@asciidoctor/tabs/dist/js/tabs.js
- path: partials/footer-scripts.hbs
contents: |
<script id="site-script" src="{{{uiRootPath}}}/js/site.js" data-ui-root-path="{{{uiRootPath}}}"></script>
<script async src="{{{uiRootPath}}}/js/vendor/highlight.js"></script>
<script async src="{{{uiRootPath}}}/js/vendor/tabs.js"></script>
{{#if env.SITE_SEARCH_PROVIDER}}
{{> search-scripts}}
{{/if}}
- path: partials/head-styles.hbs
contents: |
<link rel="stylesheet" href="{{{uiRootPath}}}/css/site.css">
<link rel="stylesheet" href="{{{uiRootPath}}}/css/vendor/tabs.css">