From e304ce0e535aa2d58472957aece9a80a2e219ec6 Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Fri, 6 Oct 2017 13:44:58 -0400 Subject: [PATCH] chore(): fix readmes script --- scripts/docs/dgeni-readmes-config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') }]; })