Skip to content

Commit ca2a523

Browse files
Add Antora Atlas extension to local builds
1 parent 1571178 commit ca2a523

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

antora.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ asciidoc:
1010
pulsar_version: '2.10' #DO NOT INCLUDE PATCH VERSION <MAJOR>.<MINOR>.<PATCH>
1111
debezium_version: '1.7'
1212
request_feature_access_email: '[email protected]'
13+
astra-streaming-examples-repo: 'https://raw.githubusercontent.com/datastax/astra-streaming-examples/master'
14+
luna-streaming-examples-repo: 'https://raw.githubusercontent.com/datastaxdevs/luna-streaming-examples/main'
15+
emoji-tada: "&#127881;"
16+
emoji-rocket: "&#128640;"
17+
emoji-smile: "&#128512"
1318

1419
nav:
1520
- modules/ROOT/nav.adoc

local-preview-playbook.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ content:
1818

1919
antora:
2020
extensions:
21+
- '@antora/atlas-extension'
2122
- '@antora/collector-extension'
2223
- lib/tailwind-processor.js
2324
- id: unlisted-pages
@@ -56,11 +57,9 @@ asciidoc:
5657
astra_ui: 'Astra Portal'
5758
support_url: 'https://support.datastax.com'
5859
glossary-url: 'https://docs.datastax.com/en/glossary/docs/index.html#'
59-
astra-streaming-examples-repo: 'https://raw.githubusercontent.com/datastax/astra-streaming-examples/master'
60-
luna-streaming-examples-repo: 'https://raw.githubusercontent.com/datastaxdevs/luna-streaming-examples/main'
61-
emoji-tada: "&#127881;"
62-
emoji-rocket: "&#128640;"
63-
emoji-smile: "&#128512"
60+
# Antora Atlas
61+
primary-site-url: https://docs.datastax.com/en
62+
primary-site-manifest-url: https://docs.datastax.com/en/site-manifest.json
6463

6564
urls:
6665
latest_version_segment_strategy: redirect:from

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,18 @@
99
"url": "https://github.com/datastax/streaming-learning-docs.git"
1010
},
1111
"scripts": {
12-
"build:local": "env FORCE_SHOW_EDIT_PAGE_LINK=true antora --clean --stacktrace local-preview-playbook.yml",
13-
"tailwindcss": "tailwindcss build -c ./build/site/_/js/tailwind.config.js -i ./build/site/_/css/site.css -o ./build/site/_/css/site.css --minify"
12+
"tailwindcss": "tailwindcss build -c ./build/site/_/js/tailwind.config.js -i ./build/site/_/css/site.css -o ./build/site/_/css/site.css --minify",
13+
"build:local": "env FORCE_SHOW_EDIT_PAGE_LINK=true antora --clean --fetch --stacktrace local-preview-playbook.yml"
1414
},
1515
"dependencies": {
16+
"@antora/atlas-extension": "^1.0.0-alpha.2",
1617
"@antora/collector-extension": "^1.0.0-alpha.3",
1718
"@asciidoctor/tabs": "^1.0.0-beta.6",
18-
"antora": "~3.1",
19+
"antora": "3.2.0-alpha.4",
1920
"asciidoctor-external-callout": "~1.2.1",
2021
"asciidoctor-kroki": "~0.18.1",
2122
"csv-parser": "^3.0.0",
23+
"lodash": "^4.17.21",
2224
"npm-run-all": "^4.1.5",
2325
"tailwindcss": "^3.3.5"
2426
}

0 commit comments

Comments
 (0)