Skip to content

Commit 544910a

Browse files
Add component version; add Atlas extension
1 parent d5e59ec commit 544910a

File tree

3 files changed

+30
-12
lines changed

3 files changed

+30
-12
lines changed

antora.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
name: starlight-for-jms
2-
title: Starlight for JMS
3-
start_page: index.adoc
4-
5-
asciidoc:
6-
attributes:
7-
jms_repo: 'https://github.com/datastax/pulsar-jms/'
8-
allow-uri-read: '' # this has no effect in antora, but does help development in Intellij
1+
name: 'starlight-for-jms'
2+
title: 'Starlight for JMS'
3+
version: '3.2'
4+
start_page: 'index.adoc'
95

106
nav:
117
- modules/ROOT/nav.adoc
128
- modules/examples/nav.adoc
139
- modules/jms-migration/nav.adoc
14-
- modules/reference/nav.adoc
10+
- modules/reference/nav.adoc
11+
12+
asciidoc:
13+
attributes:
14+
jms_repo: 'https://github.com/datastax/pulsar-jms/'

local-preview-playbook.yml

Lines changed: 16 additions & 0 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
@@ -54,8 +55,23 @@ asciidoc:
5455
astra_db: 'Astra DB'
5556
astra_stream: 'Astra Streaming'
5657
astra_ui: 'Astra Portal'
58+
astra_cli: 'Astra CLI'
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'
5761
support_url: 'https://support.datastax.com'
5862
glossary-url: 'https://docs.datastax.com/en/glossary/docs/index.html#'
63+
emoji-tada: "🎉"
64+
emoji-rocket: "🚀"
65+
emoji-smile: "&#128512"
66+
dse: 'DataStax Enterprise (DSE)'
67+
cassandra: 'Apache Cassandra®'
68+
classic: 'classic'
69+
classic_cap: 'Classic'
70+
serverless: 'serverless'
71+
serverless_cap: 'Serverless'
72+
# Antora Atlas
73+
primary-site-url: https://docs.datastax.com/en
74+
primary-site-manifest-url: https://docs.datastax.com/en/site-manifest.json
5975

6076
urls:
6177
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/starlight-for-jms-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)