Skip to content

Commit 0e99c2d

Browse files
Adapt GitHub workflows to produce versioned platform documentation (#274)
* Adapt GitHub workflows to produce versioned platform documentation * Align antora-playbook.yml with local-antora-playbook.yml
1 parent 3558119 commit 0e99c2d

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
1212
with:
1313
submodules: true
14+
fetch-depth: 0
1415
- uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 # tag=v2
1516
with:
1617
node-version: '16'

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
node-version: '16'
2121
cache: 'npm'
2222
- run: npm ci
23-
- run: make ANTORAFLAGS=--fetch
23+
- run: make ANTORAFLAGS=--fetch PLAYBOOK=antora-playbook.yml
2424
- name: Publish to GitHub Pages
2525
uses: peaceiris/actions-gh-pages@068dc23d9710f1ba62e86896f84735d869951305 # tag=v3
2626
with:

antora-playbook.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
site:
33
title: Stackable Documentation
44
url: https://docs.stackable.tech
5+
start_page: home::index.adoc
56
robots: allow
67

78
urls:
@@ -81,7 +82,7 @@ content:
8182
ui:
8283
bundle:
8384
url: ./ui/build/ui-bundle.zip
84-
supplemental_files: ./node_modules/@antora/lunr-extension/supplemental_ui
85+
supplemental_files: ./supplemental-ui
8586

8687
antora:
8788
extensions:
@@ -92,6 +93,7 @@ asciidoc:
9293
attributes:
9394
base-repo: https://github.com/stackabletech
9495
plantuml-server-url: http://www.plantuml.com/plantuml
96+
kroki-fetch-diagram: true
9597
extensions:
9698
- asciidoctor-kroki
9799

0 commit comments

Comments
 (0)