diff --git a/src/features/antora/antoraSupport.ts b/src/features/antora/antoraSupport.ts index c71eeed0..54e1ff07 100644 --- a/src/features/antora/antoraSupport.ts +++ b/src/features/antora/antoraSupport.ts @@ -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 = '' + } } }