Nest config under mkdocs key.

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2022-04-05 17:33:18 +02:00
parent 9ab9ce617e
commit bcf1a2496c
5 changed files with 21 additions and 15 deletions
@@ -145,7 +145,7 @@ describe('readGeneratorConfig', () => {
runIn: 'docker',
dockerImage: 'my-org/techdocs',
pullImage: false,
legacyCopyReadmeMdToIndexMd: true,
mkdocs: { legacyCopyReadmeMdToIndexMd: true },
},
},
});
@@ -222,7 +222,7 @@ export function readGeneratorConfig(
'techdocs.generator.mkdocs.omitTechdocsCorePlugin',
),
legacyCopyReadmeMdToIndexMd: config.getOptionalBoolean(
'techdocs.generator.legacyCopyReadmeMdToIndexMd',
'techdocs.generator.mkdocs.legacyCopyReadmeMdToIndexMd',
),
};
}