Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade Antora Collector; configure it to retain worktrees with Jetty Home until Antora exits #58

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions antora-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ antora:
require: '@antora/lunr-extension'
enabled: false
index_latest_only: true
- id: '@antora/collector-extension'
require: '@antora/collector-extension'
keep_worktrees: until:exit # Jetty Home is created in the temporary worktree, so retain until Antora exits
runtime:
log:
destination:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"devDependencies": {
"antora": "testing",
"@antora/collector-extension": "1.0.0-alpha.4",
"@antora/collector-extension": "1.0.0-beta.1",
"@antora/lunr-extension": "latest",
"antora-asciidoctor-extensions": "gitlab:antora/antora-asciidoctor-extensions",
"asciidoctor-kroki": "latest",
Expand Down
3 changes: 0 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@
<execution>
<id>full</id>
<configuration>
<environmentVariables>
<ANTORA_CACHE_DIR>${basedir}/.cache/antora</ANTORA_CACHE_DIR>
</environmentVariables>
<additionalOptions>
<option>extension[] @antora/collector-extension</option>
<option>extension[] lunr</option>
Expand Down