Merge pull request #11839 from namco1992/fix-techdocs-cli-config

techdocs-cli: fix the legacyCopyReadmeMdToIndexMd flag in techdocs-cli generate
This commit is contained in:
Camila Belo
2022-06-23 15:53:49 +02:00
committed by GitHub
3 changed files with 10 additions and 4 deletions
@@ -111,10 +111,10 @@ export class TechdocsGenerator implements GeneratorBase {
parsedLocationAnnotation,
this.scmIntegrations,
);
}
if (this.options.legacyCopyReadmeMdToIndexMd) {
await patchIndexPreBuild({ inputDir, logger: childLogger, docsDir });
}
if (this.options.legacyCopyReadmeMdToIndexMd) {
await patchIndexPreBuild({ inputDir, logger: childLogger, docsDir });
}
if (!this.options.omitTechdocsCoreMkdocsPlugin) {