Skip to content

Commit

Permalink
fix asciidoc preview when antora is using version: true
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonardo Pavan Rocha committed Apr 23, 2024
1 parent 56b0d49 commit 6f73077
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 6f73077

Please sign in to comment.