Skip to content

Commit

Permalink
fix asciidoc preview when antora is using version: true (#871)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardopavanrocha authored Apr 29, 2024
1 parent 56b0d49 commit 6892d3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/features/antora/antoraSupport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ export class AntoraConfig {
const path = uri.path
this.contentSourceRootPath = path.slice(0, path.lastIndexOf('/'))
this.contentSourceRootFsPath = ospath.dirname(uri.fsPath)
if (config.version === true) {
config.version = ''
}
}
}

Expand Down

0 comments on commit 6892d3c

Please sign in to comment.