Skip to content

chore: add truly local playbook #747

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
CURRENT_COMMIT := $(shell git rev-parse HEAD)

# Build from local worktrees. Only one version is built: "latest".
# Assumes all repos have the same parent directory.
build-truly-local: build-ui
node_modules/.bin/antora generate truly-local-playbook.yml

build-local: build-ui
node_modules/.bin/antora generate local-antora-playbook.yml

Expand Down
75 changes: 75 additions & 0 deletions truly-local-playbook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
site:
title: Stackable Documentation
url: https://docs.stackable.tech
start_page: home::index.adoc
robots: allow
keys:
enable_tracking: false
urls:
# This replaces the component version in the URL of the latest stable version with 'stable'
# i.e. /commons-operator/stable/index.html instead of /commons-operator/0.3/index.html
latest_version_segment: stable
content:
sources:
- url: ./
branches:
- HEAD
# management tools
- url: ../stackable-cockpit/
start_path: docs
# demos
- url: ../demos/
start_path: docs
# internal operators
- url: ../commons-operator/
start_path: docs
- url: ../secret-operator/
start_path: docs
- url: ../listener-operator/
start_path: docs
# product operators
- url: ../airflow-operator/
start_path: docs
- url: ../druid-operator/
start_path: docs
- url: ../hbase-operator/
start_path: docs
- url: ../hdfs-operator/
start_path: docs
- url: ../hive-operator/
start_path: docs
- url: ../kafka-operator/
start_path: docs
- url: ../nifi-operator/
start_path: docs
- url: ../opa-operator/
start_path: docs
- url: ../spark-k8s-operator/
start_path: docs
- url: ../superset-operator/
start_path: docs
- url: ../trino-operator/
start_path: docs
- url: ../zookeeper-operator/
start_path: docs
ui:
bundle:
url: ./ui/build/ui-bundle.zip
supplemental_files: ./supplemental-ui
asciidoc:
extensions:
- '@asciidoctor/tabs'
attributes:
base-repo: https://github.com/stackabletech
plantuml-server-url: http://www.plantuml.com/plantuml
kroki-fetch-diagram: true
# an external icon. Create a link opening in a new tab like this: http://my-url.com[Text {external-link-icon}^]
external-link-icon: "<i class=\"fa-solid fa-arrow-up-right-from-square fa-xs\" style=\"margin-left: 3px; vertical-align: baseline;\"></i>"
# the default caching directory is ./.cache/antora
# Antora caches the git repos, this can sometimes lead to stale content
# use 'make clean' to remove the build and cache directory
runtime:
cache_dir: ./cache
log:
failure_level: warn
Loading