diff options
author | Brandon Millman <brandon@0xproject.com> | 2017-11-28 05:02:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-28 05:02:08 +0800 |
commit | 4a17f5e82074b01e74ae6982e82419a037eebdb4 (patch) | |
tree | b783366d327d60d8ed69341d4017f7462fd1af40 /packages/0x.js/scripts/postpublish.js | |
parent | 694c37150c35f8d9810067b8810764585ac76508 (diff) | |
parent | b04d07815f47018655b70b4152090b566f568af1 (diff) | |
download | dexon-sol-tools-4a17f5e82074b01e74ae6982e82419a037eebdb4.tar dexon-sol-tools-4a17f5e82074b01e74ae6982e82419a037eebdb4.tar.gz dexon-sol-tools-4a17f5e82074b01e74ae6982e82419a037eebdb4.tar.bz2 dexon-sol-tools-4a17f5e82074b01e74ae6982e82419a037eebdb4.tar.lz dexon-sol-tools-4a17f5e82074b01e74ae6982e82419a037eebdb4.tar.xz dexon-sol-tools-4a17f5e82074b01e74ae6982e82419a037eebdb4.tar.zst dexon-sol-tools-4a17f5e82074b01e74ae6982e82419a037eebdb4.zip |
Merge pull request #240 from 0xProject/fix/websiteMdDirectory
Add md directory to website package and change generated docs directory
Diffstat (limited to 'packages/0x.js/scripts/postpublish.js')
-rw-r--r-- | packages/0x.js/scripts/postpublish.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/0x.js/scripts/postpublish.js b/packages/0x.js/scripts/postpublish.js index ffc68afb4..28484a8bd 100644 --- a/packages/0x.js/scripts/postpublish.js +++ b/packages/0x.js/scripts/postpublish.js @@ -21,8 +21,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, } |