diff --git a/scripts/docs/dgeni-readmes-config.js b/scripts/docs/dgeni-readmes-config.js index c3a4c1487..c701173d5 100644 --- a/scripts/docs/dgeni-readmes-config.js +++ b/scripts/docs/dgeni-readmes-config.js @@ -41,7 +41,7 @@ module.exports = currentVersion => { docTypes: ['class'], getOutputPath: doc => doc.originalModule.replace(config.pluginDir + '/', '') .replace('/plugins', '') - .replace('/index', '/README.md') + .replace(/\/index$/, '/README.md') }]; })