Skip to content

Commit

Permalink
use prefer dsl method in place of prepend when registering custom inc…
Browse files Browse the repository at this point in the history
…lude processor
  • Loading branch information
mojavelinux committed Apr 18, 2024
1 parent 1ff6d0d commit ffe8f6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/skip-include-processor.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function createExtensionGroup (registry) {
return function () {
this.includeProcessor(function () {
let directive
this.prepend() // register in front of Antora's include processor; calls this.$option('position', '>>') internally
this.prefer() // register in front of Antora's include processor
this.handles((target) => {
if (target !== 'javadoc' && !target.startsWith('${jetty.home}')) return
directive = registry.document.getReader().getLines()[0]
Expand Down

0 comments on commit ffe8f6a

Please sign in to comment.