Skip to content

Instantly share code, notes, and snippets.

@feuGeneA
Created August 27, 2018 15:46
Show Gist options
  • Save feuGeneA/cd4fb138da860c413d47c05780568539 to your computer and use it in GitHub Desktop.
Save feuGeneA/cd4fb138da860c413d47c05780568539 to your computer and use it in GitHub Desktop.
gene@precision5510:~/0x-monorepo$ node ./packages/monorepo-scripts/lib/doc_generate_and_upload.js --package sol-compiler --shouldUpload false --isStaging true
GENERATE_UPLOAD_DOCS: Generating Typedoc JSON for sol-compiler...
GENERATE_UPLOAD_DOCS: Modifying Typedoc JSON to our custom format...
Error: Found the following external exports in sol-compiler's index.ts:
StandardOutput
They are missing from the EXTERNAL_EXPORT_TO_LINK mapping. Add them and try again.
at DocGenerateAndUploadUtils.<anonymous> (/home/gene/0x-monorepo/packages/monorepo-scripts/lib/utils/doc_generate_and_upload_utils.js:252:35)
at step (/home/gene/0x-monorepo/packages/monorepo-scripts/lib/utils/doc_generate_and_upload_utils.js:32:23)
at Object.next (/home/gene/0x-monorepo/packages/monorepo-scripts/lib/utils/doc_generate_and_upload_utils.js:13:53)
at fulfilled (/home/gene/0x-monorepo/packages/monorepo-scripts/lib/utils/doc_generate_and_upload_utils.js:4:58)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
gene@precision5510:~/0x-monorepo$ grep -B8 solc.StandardOutput packages/monorepo-scripts/lib/doc_gen_configs.js
// be able to render their definitions. Instead we link to them using this lookup.
EXTERNAL_TYPE_TO_LINK: {
Array: 'https://developer.mozilla.org/pt-PT/docs/Web/JavaScript/Reference/Global_Objects/Array',
BigNumber: 'http://mikemcl.github.io/bignumber.js',
Error: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error',
Buffer: 'https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/node/v9/index.d.ts#L262',
'solc.StandardContractOutput': 'https://solidity.readthedocs.io/en/v0.4.24/using-the-compiler.html#output-description',
'solc.CompilerSettings': 'https://solidity.readthedocs.io/en/v0.4.24/using-the-compiler.html#input-description',
'solc.StandardOutput': 'https://solidity.readthedocs.io/en/v0.4.24/using-the-compiler.html#input-description',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment