From b04d07815f47018655b70b4152090b566f568af1 Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Mon, 27 Nov 2017 12:10:26 -0800 Subject: Add md directory to website package and change generated docs directory --- packages/connect/scripts/postpublish.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/connect/scripts') diff --git a/packages/connect/scripts/postpublish.js b/packages/connect/scripts/postpublish.js index ba0f8507d..e6a2cc065 100644 --- a/packages/connect/scripts/postpublish.js +++ b/packages/connect/scripts/postpublish.js @@ -17,8 +17,9 @@ postpublish_utils.getLatestTagAndVersionAsync(subPackageName) }) .then(function(release) { console.log('POSTPUBLISH: Release successful, generating docs...'); + const jsonFilePath = __dirname + '/../' + postpublish_utils.generatedDocsDirectoryName + '/index.json'; return execAsync( - 'JSON_FILE_PATH=' + __dirname + '/../docs/index.json PROJECT_DIR=' + __dirname + '/.. yarn docs:json', + 'JSON_FILE_PATH=' + jsonFilePath + ' PROJECT_DIR=' + __dirname + '/.. yarn docs:json', { cwd, } -- cgit