Skip to content

Commit

Permalink
Add Antora Atlas extension to local builds
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-schneider committed Jul 15, 2024
1 parent f7b8724 commit a4a7aac
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions local-preview-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ content:

antora:
extensions:
- '@antora/atlas-extension'
- '@antora/collector-extension'
- lib/tailwind-processor.js
- id: unlisted-pages
Expand Down Expand Up @@ -56,6 +57,9 @@ asciidoc:
astra_ui: 'Astra Portal'
support_url: 'https://support.datastax.com'
glossary-url: 'https://docs.datastax.com/en/glossary/docs/index.html#'
# Antora Atlas
primary-site-url: https://docs.datastax.com/en
primary-site-manifest-url: https://docs.datastax.com/en/site-manifest.json

urls:
latest_version_segment_strategy: redirect:from
Expand Down
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,18 @@
"url": "https://github.com/datastax/migration-docs.git"
},
"scripts": {
"build:local": "env FORCE_SHOW_EDIT_PAGE_LINK=true antora --clean --stacktrace local-preview-playbook.yml",
"tailwindcss": "tailwindcss build -c ./build/site/_/js/tailwind.config.js -i ./build/site/_/css/site.css -o ./build/site/_/css/site.css --minify"
"tailwindcss": "tailwindcss build -c ./build/site/_/js/tailwind.config.js -i ./build/site/_/css/site.css -o ./build/site/_/css/site.css --minify",
"build:local": "env FORCE_SHOW_EDIT_PAGE_LINK=true antora --clean --fetch --stacktrace local-preview-playbook.yml"
},
"dependencies": {
"@antora/atlas-extension": "^1.0.0-alpha.2",
"@antora/collector-extension": "^1.0.0-alpha.3",
"@asciidoctor/tabs": "^1.0.0-beta.6",
"antora": "~3.1",
"antora": "3.2.0-alpha.4",
"asciidoctor-external-callout": "~1.2.1",
"asciidoctor-kroki": "~0.18.1",
"csv-parser": "^3.0.0",
"lodash": "^4.17.21",
"npm-run-all": "^4.1.5",
"tailwindcss": "^3.3.5"
}
Expand Down

0 comments on commit a4a7aac

Please sign in to comment.