F. Eugene Aumson
2e7b218f40
fix: comments
...
https://github.com/0xProject/0x-monorepo/pull/1004#discussion_r219990314
https://github.com/0xProject/0x-monorepo/pull/1004#discussion_r220007992
https://github.com/0xProject/0x-monorepo/pull/1004
2018-09-25 16:31:40 -04:00
F. Eugene Aumson
7fbfd9ccd9
fix: print error and exit process; don't re-throw
...
https://github.com/0xProject/0x-monorepo/pull/1004#discussion_r219979003
https://github.com/0xProject/0x-monorepo/pull/1004
2018-09-25 16:31:40 -04:00
F. Eugene Aumson
1db5ff617f
fix: split line for readability
...
https://github.com/0xProject/0x-monorepo/pull/1004#discussion_r219978696
https://github.com/0xProject/0x-monorepo/pull/1004
2018-09-25 16:31:40 -04:00
F. Eugene Aumson
ac5376a1ca
fix: rename JSON_TABWIDTH to JSON_TAB_WIDTH
...
https://github.com/0xProject/0x-monorepo/pull/1004#discussion_r219977842
https://github.com/0xProject/0x-monorepo/pull/1004
2018-09-25 16:31:39 -04:00
F. Eugene Aumson
600ffd93a6
fix: use latest versions of @0xproject packages
...
https://github.com/0xProject/0x-monorepo/pull/1004#discussion_r219977747
https://github.com/0xProject/0x-monorepo/pull/1004
2018-09-25 16:31:26 -04:00
F. Eugene Aumson
574270d061
fix: increase mocha timeout value
...
prior CI runs were failing because of this.
2018-09-24 17:17:28 -04:00
F. Eugene Aumson
9af5e3ba8e
fix: add CHANGELOG.json
2018-09-24 17:17:19 -04:00
F. Eugene Aumson
57fca16d7b
fix: use contract name for constructor method name
...
and for its return value
2018-09-24 13:24:03 -04:00
F. Eugene Aumson
a900255820
fix: document indexed event arguments
2018-09-24 13:05:35 -04:00
F. Eugene Aumson
bd7565ceda
fix: save v1 contract doc/deploy commands
...
For posterity, save commands needed to use sol-doc to generate and
deploy documentation objects for v1 contracts.
2018-09-24 12:36:26 -04:00
F. Eugene Aumson
880cd6e440
fix: document return value's type, not its name
2018-09-24 12:29:02 -04:00
F. Eugene Aumson
9f0dfb1e1a
feat: make sol-doc only document what's requested
...
if a list of contracts-to-document is passed into sol-doc, then the
output should only contain documentation for the contracts requested.
if an empty/undefined list is passed, then it should document all
contracts that were found.
2018-09-22 10:55:46 -04:00
F. Eugene Aumson
37cb18e1da
fix: rename variable
2018-09-22 10:21:27 -04:00
F. Eugene Aumson
3e5d427d4e
feat: add sol-doc command-line interface
...
modified sol-compiler to output progress/warning/error/etc messages to
stderr rather than stdout, so that sol-doc can put its output (and
nothing else) to stdout.
for posterity, added sol-doc cli usage as npm scripts to package.json.
2018-09-22 10:14:49 -04:00
F. Eugene Aumson
30622631ff
use Array.join rather than string concatenation
2018-09-17 19:31:47 -04:00
F. Eugene Aumson
4bab402e95
doc constructors as returning a Reference...
...
...not an Intrinsic
2018-09-17 19:31:45 -04:00
F. Eugene Aumson
91de15d50e
remove stale comments
2018-09-17 19:31:42 -04:00
F. Eugene Aumson
4ade674ada
test multiple return values from a solidity method
2018-09-17 19:31:37 -04:00
F. Eugene Aumson
401ef2edef
minorly tweak comments
2018-09-17 19:31:34 -04:00
F. Eugene Aumson
9201273939
add and test support for return comment
2018-09-17 19:31:32 -04:00
F. Eugene Aumson
5b07669bd0
add and test support for fallback functions
2018-09-17 19:31:30 -04:00
F. Eugene Aumson
3c7155afb0
test all the natspec stuff we use in our contracts
2018-09-17 19:31:23 -04:00
F. Eugene Aumson
a75981da14
test w/&w/out devdoc content in contract
2018-09-17 17:49:14 -04:00
F. Eugene Aumson
d5f964b58e
test w/&w/out passing in contractsToCompile
2018-09-17 17:49:03 -04:00
F. Eugene Aumson
800dd5fb4f
ammend generated docs with solc's devdoc output
2018-08-31 16:18:17 -04:00
F. Eugene Aumson
3dc4eb4421
rename 2 variables
2018-08-31 15:28:12 -04:00
F. Eugene Aumson
327b4ba554
satisfy linter
2018-08-31 11:18:43 -04:00
F. Eugene Aumson
50b725c687
introduce named vars to clarify return statements
2018-08-31 09:33:26 -04:00
F. Eugene Aumson
9a4e6da02f
enable sol-doc tests in circleci
2018-08-31 09:15:41 -04:00
F. Eugene Aumson
823b6c4d7d
transform solc's ABI output into doc types
2018-08-31 09:12:27 -04:00
F. Eugene Aumson
0e45497acb
rename variables
2018-08-30 12:28:09 -04:00
F. Eugene Aumson
fe7a62ba9a
add named var to make if
condition more readable
2018-08-30 12:02:46 -04:00
F. Eugene Aumson
b88a56e6b7
reduce proximity b/w instantiation and use of var
2018-08-30 12:02:46 -04:00
F. Eugene Aumson
297cbd996d
remove unnecessary class SolidityDocFormat
2018-08-30 12:02:42 -04:00
F. Eugene Aumson
f55234b4a0
comment public interface
2018-08-30 11:30:43 -04:00
F. Eugene Aumson
f76c88c549
remove unused constructor parameter
2018-08-30 11:24:41 -04:00
F. Eugene Aumson
863966787f
dev-depend on @0xproject/tslint-config
2018-08-30 10:43:43 -04:00
F. Eugene Aumson
7ed31d2fba
correct package.json's privacy specification
2018-08-30 10:43:43 -04:00
F. Eugene Aumson
f429032eef
move shared doc types from react-docs to @0x/types
2018-08-30 10:43:36 -04:00
F. Eugene Aumson
a1959df911
add devdoc support to solc typings, and use it
2018-08-29 08:51:01 -04:00
F. Eugene Aumson
775d1efd46
add package sol-doc
2018-08-29 08:50:55 -04:00