Skip to content

Commit

Permalink
upgrade Antora Collector; configure it to retain worktrees with Jetty…
Browse files Browse the repository at this point in the history
… Home until Antora exits (#58)
  • Loading branch information
mojavelinux authored Aug 8, 2024
1 parent 8975f7f commit e4c33f3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
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

0 comments on commit e4c33f3

Please sign in to comment.