Skip to content

Commit

Permalink
Fixes atlas-extension order (#3139)
Browse files Browse the repository at this point in the history
The atlas-extension must be registered before the latest-version-extension so that the latest version logic is applied to versions imported from the atlas-extension.
  • Loading branch information
pderop committed Apr 4, 2024
1 parent af27b9e commit 3512274
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/antora-playbook.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
antora:
extensions:
- '@springio/antora-extensions/partial-build-extension'
# atlas-extension must be before latest-version-extension so latest versions are applied to imported versions
- '@antora/atlas-extension'
- require: '@springio/antora-extensions/latest-version-extension'
- require: '@springio/antora-extensions/inject-collector-cache-config-extension'
- '@antora/collector-extension'
- '@antora/atlas-extension'
- id: pdf-extension # pdf-extension is enabled from antora-docs.gradle
require: '@antora/pdf-extension'
enabled: false
Expand Down

0 comments on commit 3512274

Please sign in to comment.