-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlocal-antora-playbook.yml
75 lines (74 loc) · 2.34 KB
/
local-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
73
74
site:
title: Redpanda Docs Extensions and Macros
start_page: preview:ROOT:test.adoc
url: https://docs-extensions-and-macros.netlify.app
urls:
html_extension_style: indexify
output:
clean: true
content:
sources:
- url: .
branches: HEAD
start_paths: [preview/extensions-and-macros, preview/shared]
- url: https://github.com/redpanda-data/docs
branches: [main, v/*, api, v-WIP/24.3, 'site-search', '!v-end-of-life/*']
- url: https://github.com/redpanda-data/redpanda-labs
branches: main
start_paths: [docs,'*/docs']
- url: https://github.com/redpanda-data/rp-connect-docs
branches: main
- url: https://github.com/redpanda-data/cloud-docs
branches: main
ui:
bundle:
url: https://github.com/redpanda-data/docs-ui/releases/latest/download/ui-bundle.zip
snapshot: true
asciidoc:
attributes:
extensions:
- '@asciidoctor/tabs'
- './macros/glossary'
- './macros/config-ref'
- './macros/helm-ref'
- './macros/rp-connect-components'
- './asciidoc-extensions/add-line-numbers-highlights'
antora:
extensions:
- require: './extensions/add-global-attributes'
- './extensions/version-fetcher/set-latest-version'
- './extensions/algolia-indexer/index'
- require: './extensions/generate-rp-connect-categories'
- require: './extensions/generate-index-data'
data:
sets:
docker_labs:
component: redpanda-labs
filter: docker-compose
env_type: Docker
attribute_name: docker-labs-index
- require: './extensions/generate-rp-connect-info'
- require: './extensions/collect-bloblang-samples'
- require: './extensions/add-pages-to-root'
- require: './extensions/unlisted-pages'
- require: './extensions/replace-attributes-in-attachments'
data:
replacements:
- components:
- 'ROOT'
- 'redpanda-labs'
file_patterns:
- '**/docker-compose.yaml'
- '**/docker-compose.yml'
- require: './extensions/archive-attachments'
data:
archives:
- component: 'preview'
output_archive: 'test.tar.gz'
file_patterns:
- '**/test.yaml'
- require: './extensions/unpublish-pages'
- require: './extensions/validate-attributes'
- require: './extensions/find-related-docs'
- require: './extensions/find-related-labs'
- require: './extensions/aggregate-terms'