diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-04 04:37:36 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-04 04:37:36 +0800 |
commit | d7a803d9fd117a3a36570b779738ac0209cce826 (patch) | |
tree | 4ca416274fd81acd249e0a7b6f89f8b2c76a72cb | |
parent | 839e5895e41c849d69b493ad2a1e85c8504c38b2 (diff) | |
download | dexon-sol-tools-d7a803d9fd117a3a36570b779738ac0209cce826.tar dexon-sol-tools-d7a803d9fd117a3a36570b779738ac0209cce826.tar.gz dexon-sol-tools-d7a803d9fd117a3a36570b779738ac0209cce826.tar.bz2 dexon-sol-tools-d7a803d9fd117a3a36570b779738ac0209cce826.tar.lz dexon-sol-tools-d7a803d9fd117a3a36570b779738ac0209cce826.tar.xz dexon-sol-tools-d7a803d9fd117a3a36570b779738ac0209cce826.tar.zst dexon-sol-tools-d7a803d9fd117a3a36570b779738ac0209cce826.zip |
Don't need any external packages for 0x connect docs yet
-rw-r--r-- | packages/connect/scripts/postpublish.js | 4 | ||||
-rw-r--r-- | packages/connect/scripts/stagedocs.js | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/packages/connect/scripts/postpublish.js b/packages/connect/scripts/postpublish.js index df201bab4..e447615f9 100644 --- a/packages/connect/scripts/postpublish.js +++ b/packages/connect/scripts/postpublish.js @@ -6,7 +6,9 @@ const tsConfig = require('../tsconfig.json'); const cwd = __dirname + '/..'; const subPackageName = packageJSON.name; const S3BucketPath = 's3://connect-docs-jsons/'; -const fileIncludes = [...tsConfig.include, '../types/src/index.ts']; +// Include any external packages that are part of the @0xproject/connect public interface +// to this array so that TypeDoc picks it up and adds it to the Docs JSON +const fileIncludes = [...tsConfig.include]; const fileIncludesAdjusted = postpublish_utils.adjustFileIncludePaths(fileIncludes, __dirname); const projectFiles = fileIncludesAdjusted.join(' '); diff --git a/packages/connect/scripts/stagedocs.js b/packages/connect/scripts/stagedocs.js index 4b36864d9..58272ab86 100644 --- a/packages/connect/scripts/stagedocs.js +++ b/packages/connect/scripts/stagedocs.js @@ -6,7 +6,9 @@ const cwd = __dirname + '/..'; const S3BucketPath = 's3://staging-connect-docs-jsons/'; const jsonFilePath = __dirname + '/../' + postpublish_utils.generatedDocsDirectoryName + '/index.json'; const version = process.env.DOCS_VERSION; -const fileIncludes = [...tsConfig.include, '../types/src/index.ts']; +// Include any external packages that are part of the @0xproject/connect public interface +// to this array so that TypeDoc picks it up and adds it to the Docs JSON +const fileIncludes = [...tsConfig.include]; const fileIncludesAdjusted = postpublish_utils.adjustFileIncludePaths(fileIncludes, __dirname); const projectFiles = fileIncludesAdjusted.join(' '); |