Skip to content

Commit 91e3b10

Browse files
committed
chore: add truly local playbook
1 parent 3281524 commit 91e3b10

File tree

2 files changed

+80
-0
lines changed

2 files changed

+80
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
CURRENT_COMMIT := $(shell git rev-parse HEAD)
22

3+
# Build from local worktrees. Only one version is built: "latest".
4+
# Assumes all repos have the same parent directory.
5+
build-truly-local: build-ui
6+
node_modules/.bin/antora generate truly-local-playbook.yml
7+
38
build-local: build-ui
49
node_modules/.bin/antora generate local-antora-playbook.yml
510

truly-local-playbook.yml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
site:
3+
title: Stackable Documentation
4+
url: https://docs.stackable.tech
5+
start_page: home::index.adoc
6+
robots: allow
7+
keys:
8+
enable_tracking: false
9+
urls:
10+
# This replaces the component version in the URL of the latest stable version with 'stable'
11+
# i.e. /commons-operator/stable/index.html instead of /commons-operator/0.3/index.html
12+
latest_version_segment: stable
13+
content:
14+
sources:
15+
- url: ./
16+
branches:
17+
- HEAD
18+
# management tools
19+
- url: ../stackable-cockpit/
20+
start_path: docs
21+
# demos
22+
- url: ../demos/
23+
start_path: docs
24+
# internal operators
25+
- url: ../commons-operator/
26+
start_path: docs
27+
- url: ../secret-operator/
28+
start_path: docs
29+
- url: ../listener-operator/
30+
start_path: docs
31+
# product operators
32+
- url: ../airflow-operator/
33+
start_path: docs
34+
- url: ../druid-operator/
35+
start_path: docs
36+
- url: ../hbase-operator/
37+
start_path: docs
38+
- url: ../hdfs-operator/
39+
start_path: docs
40+
- url: ../hive-operator/
41+
start_path: docs
42+
- url: ../kafka-operator/
43+
start_path: docs
44+
- url: ../nifi-operator/
45+
start_path: docs
46+
- url: ../opa-operator/
47+
start_path: docs
48+
- url: ../spark-k8s-operator/
49+
start_path: docs
50+
- url: ../superset-operator/
51+
start_path: docs
52+
- url: ../trino-operator/
53+
start_path: docs
54+
- url: ../zookeeper-operator/
55+
start_path: docs
56+
ui:
57+
bundle:
58+
url: ./ui/build/ui-bundle.zip
59+
supplemental_files: ./supplemental-ui
60+
asciidoc:
61+
extensions:
62+
- '@asciidoctor/tabs'
63+
attributes:
64+
base-repo: https://github.com/stackabletech
65+
plantuml-server-url: http://www.plantuml.com/plantuml
66+
kroki-fetch-diagram: true
67+
# an external icon. Create a link opening in a new tab like this: http://my-url.com[Text {external-link-icon}^]
68+
external-link-icon: "<i class=\"fa-solid fa-arrow-up-right-from-square fa-xs\" style=\"margin-left: 3px; vertical-align: baseline;\"></i>"
69+
# the default caching directory is ./.cache/antora
70+
# Antora caches the git repos, this can sometimes lead to stale content
71+
# use 'make clean' to remove the build and cache directory
72+
runtime:
73+
cache_dir: ./cache
74+
log:
75+
failure_level: warn

0 commit comments

Comments
 (0)