Skip to content

Commit 649b1b2

Browse files
committed
Merge branch 'main' of https://github.com/stackabletech/documentation into feat/add-airgap-documentation
2 parents ed90c53 + 16e81d5 commit 649b1b2

File tree

90 files changed

+5910
-2530
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+5910
-2530
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
with:
1313
submodules: true
1414
fetch-depth: 0
15-
- uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3
15+
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
1616
with:
1717
node-version: '16'
1818
cache: 'npm'

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ name: Build and deploy production site
66

77
on:
88
schedule:
9-
- cron: '15 2 * * *'
9+
# Monday to Friday, 2:15 in the night
10+
- cron: '15 2 * * 1-5'
1011
workflow_dispatch:
1112

1213
jobs:

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ build-ui:
1010
node_modules/.bin/gulp --cwd ui bundle
1111

1212
clean:
13-
rm -r build
13+
rm -rf build
1414
# 'cache' is the configured cache dir in the playbook
15-
rm -r cache
15+
rm -rf cache
1616

1717
# The netlify repo is checked out without any blobs. This script
1818
# iterates through the release branches and checks them out one-by-one
@@ -27,7 +27,7 @@ netlify-fetch:
2727
git fetch --all
2828
# checkout all release branches once, so we fetch the files
2929
for remote in $(shell git branch -r | grep release/); do \
30-
git checkout --recurse-submodules "$${remote#origin/}" ;\
30+
git checkout --recurse-submodules "$${remote#origin/}" ; git pull; \
3131
done
3232
# go back to the initial commit to start the build
3333
git -c advice.detachedHead=false checkout --recurse-submodules $(CURRENT_COMMIT)

antora-playbook.yml

Lines changed: 41 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -7,54 +7,66 @@ site:
77
keys:
88
enable_tracking: true
99

10+
# URL config settings.
11+
# docs: https://docs.antora.org/antora/latest/playbook/configure-urls/
1012
urls:
11-
# This replaces the component version in the URL of the latest stable version with 'stable'
12-
# i.e. /commons-operator/stable/index.html instead of /commons-operator/0.3/index.html
13+
# The symbolic name of the latest stable version, and how to redirect from/to it.
14+
# with 'redirect:to', the _actual_ version link is a redirect, and the _actual_ link
15+
# contains the symbolic name, i.e. stable.
16+
# As the user browses the latest docs, there will be 'stable' in the links. Also
17+
# search engines will see the 'stable' link and index those pages, so if we release
18+
# a new version, these links will be already in the index, which is good.
19+
# Linking to the latest version by version number is still possible, and after the
20+
# latest version is not latest anymore, the redirect is instead the actual URL.
1321
latest_version_segment: stable
22+
latest_version_segment_strategy: redirect:to
23+
# We deploy our site on netlify, so we use their redirect config mechanism
1424
redirect_facility: netlify
1525

1626
content:
1727
sources:
1828
- url: .
1929
branches:
2030
- HEAD
31+
- release/23.11
2132
- release/23.7
2233
- release/23.4
2334
- release/23.1
24-
- release/22.11
25-
- release/22.09
26-
- release/22.06
27-
# stackablectl
28-
- url: https://github.com/stackabletech/stackablectl.git
35+
# management tools
36+
- url: https://github.com/stackabletech/stackable-cockpit.git
2937
start_path: docs
3038
branches: main
39+
# demos
40+
- url: https://github.com/stackabletech/demos.git
41+
start_path: docs
42+
branches:
43+
- main
44+
- release-23.11
45+
- release-23.7
46+
- release-23.4
47+
- release-23.1
3148
# internal operators
3249
- url: https://github.com/stackabletech/commons-operator.git
3350
start_path: docs
3451
branches:
3552
- main
53+
- release-23.11
3654
- release-23.7
3755
- release-23.4
3856
- release-23.1
39-
- distributed-component-compat # (required for 0.4 and below)
40-
- old-release-docs/0.4
41-
- old-release-docs/0.3
42-
- old-release-docs/0.2
4357
- url: https://github.com/stackabletech/secret-operator.git
4458
start_path: docs
4559
branches:
4660
- main
61+
- release-23.11
4762
- release-23.7
4863
- release-23.4
4964
- release-23.1
50-
- distributed-component-compat # (required for 0.6 and below)
51-
tags:
52-
- docs/0.6
53-
- docs/0.5
5465
- url: https://github.com/stackabletech/listener-operator.git
5566
start_path: docs
5667
branches:
5768
- main
69+
- release-23.11
5870
- release-23.7
5971
- release-23.4
6072
- release-23.1
@@ -63,146 +75,98 @@ content:
6375
start_path: docs
6476
branches:
6577
- main
78+
- release-23.11
6679
- release-23.7
6780
- release-23.4
6881
- release-23.1
69-
- distributed-component-compat # (required for 0.6 and below)
70-
- old-release-docs/0.6
71-
- old-release-docs/0.5
72-
tags:
73-
- docs/0.4
7482
- url: https://github.com/stackabletech/druid-operator.git
7583
start_path: docs
7684
branches:
7785
- main
86+
- release-23.11
7887
- release-23.7
7988
- release-23.4
8089
- release-23.1
81-
- distributed-component-compat
82-
- old-release-docs/0.8
83-
- old-release-docs/0.7
84-
tags:
85-
- docs/0.6
8690
- url: https://github.com/stackabletech/hbase-operator.git
8791
start_path: docs
8892
branches:
8993
- main
94+
- release-23.11
9095
- release-23.7
9196
- release-23.4
9297
- release-23.1
93-
- distributed-component-compat
94-
- old-release-docs/0.5
95-
- old-release-docs/0.4
96-
- old-release-docs/0.3
9798
- url: https://github.com/stackabletech/hdfs-operator.git
9899
start_path: docs
99100
branches:
100101
- main
102+
- release-23.11
101103
- release-23.7
102104
- release-23.4
103105
- release-23.1
104-
- distributed-component-compat
105-
- old-release-docs/0.6
106-
- old-release-docs/0.5
107-
tags:
108-
- docs/0.4
109106
- url: https://github.com/stackabletech/hive-operator.git
110107
start_path: docs
111108
branches:
112109
- main
110+
- release-23.11
113111
- release-23.7
114112
- release-23.4
115113
- release-23.1
116-
- distributed-component-compat
117-
tags:
118-
- docs/0.8
119-
- docs/0.7
120-
- docs/0.6
121114
- url: https://github.com/stackabletech/kafka-operator.git
122115
start_path: docs
123116
branches:
124117
- main
118+
- release-23.11
125119
- release-23.7
126120
- release-23.4
127121
- release-23.1
128-
- distributed-component-compat
129-
tags:
130-
- docs/0.8
131-
- docs/0.7
132-
- docs/0.6
133122
- url: https://github.com/stackabletech/nifi-operator.git
134123
start_path: docs
135124
branches:
136125
- main
126+
- release-23.11
137127
- release-23.7
138128
- release-23.4
139129
- release-23.1
140-
- distributed-component-compat # (required for 0.8 and below)
141-
- old-release-docs/0.8
142-
- old-release-docs/0.7
143-
- old-release-docs/0.6
144130
- url: https://github.com/stackabletech/opa-operator.git
145131
start_path: docs
146132
branches:
147133
- main
134+
- release-23.11
148135
- release-23.7
149136
- release-23.4
150137
- release-23.1
151-
- distributed-component-compat
152-
tags:
153-
- docs/0.11
154-
- docs/0.10
155-
- docs/0.9
156138
- url: https://github.com/stackabletech/spark-k8s-operator.git
157139
start_path: docs
158140
branches:
159141
- main
142+
- release-23.11
160143
- release-23.7
161144
- release-23.4
162145
- release-23.1
163-
- distributed-component-compat
164-
tags:
165-
- docs/0.6
166-
- docs/0.5
167-
- docs/0.4
168-
- docs/0.3
169-
- docs/0.2
170146
- url: https://github.com/stackabletech/superset-operator.git
171147
start_path: docs
172148
branches:
173149
- main
150+
- release-23.11
174151
- release-23.7
175152
- release-23.4
176153
- release-23.1
177-
- distributed-component-compat
178-
- old-release-docs/0.7
179-
- old-release-docs/0.6
180-
- old-release-docs/0.5
181154
- url: https://github.com/stackabletech/trino-operator.git
182155
start_path: docs
183156
branches:
184157
- main
158+
- release-23.11
185159
- release-23.7
186160
- release-23.4
187161
- release-23.1
188-
- distributed-component-compat
189-
- old-release-docs/0.8
190-
- old-release-docs/0.7
191-
tags:
192-
- docs/0.6
193-
- docs/0.5
194-
- docs/0.4
195162
- url: https://github.com/stackabletech/zookeeper-operator.git
196163
start_path: docs
197164
branches:
198165
- main
166+
- release-23.11
199167
- release-23.7
200168
- release-23.4
201169
- release-23.1
202-
- distributed-component-compat
203-
- old-release-docs/0.12
204-
- old-release-docs/0.11
205-
- old-release-docs/0.10
206170

207171
ui:
208172
bundle:
@@ -212,15 +176,14 @@ ui:
212176
antora:
213177
extensions:
214178
- '@antora/lunr-extension'
215-
- asciidoctor-kroki
216179

217180
asciidoc:
218181
attributes:
219182
base-repo: https://github.com/stackabletech
220183
plantuml-server-url: http://www.plantuml.com/plantuml
221184
kroki-fetch-diagram: true
222-
extensions:
223-
- asciidoctor-kroki
185+
# an external icon. Create a link opening in a new tab like this: http://my-url.com[Text {external-link-icon}^]
186+
external-link-icon: "<i class=\"fa-solid fa-arrow-up-right-from-square fa-xs\" style=\"margin-left: 3px; vertical-align: baseline;\"></i>"
224187

225188
# the default caching directory is ./.cache/antora
226189
# Antora caches the git repos, this can sometimes lead to stale content

antora.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,26 @@ title: Stackable Documentation
44
nav:
55
- modules/ROOT/nav.adoc
66
- modules/concepts/nav.adoc
7+
- modules/demos/nav.adoc
78
- modules/tutorials/nav.adoc
8-
- modules/reference/nav.adoc
99
- modules/operators/nav.adoc
10+
- modules/reference/nav.adoc
1011
- modules/contributor/nav.adoc
1112
- modules/ROOT/nav2.adoc
13+
# The prerelease setting affects version sorting.
14+
# Set to 'true' for nightly and false otherwise.
1215
prerelease: true
16+
# The attributes below are specific to this component and version
17+
# https://docs.antora.org/antora/latest/component-attributes/#hard-set
18+
asciidoc:
19+
attributes:
20+
# Keep this version in line with the 'version' key above
21+
# The versions for the CRD docs are either 'nightly' or
22+
# a full major.minor.patch version like 23.7.1
23+
crd-docs-version: "nightly"
24+
# use the attributes below to link to the CRD docs
25+
crd-docs-base-url: "https://crds.stackable.tech"
26+
crd-docs: "{crd-docs-base-url}/{crd-docs-version}"
27+
# this attribute is an annoying little hack to make the versioned
28+
# link accessible to the UI template.
29+
page-crd-docs: "{crd-docs}"

0 commit comments

Comments
 (0)