Fabio Berger
957af23a64
Include structs section so that we can render struct params/return values properly with a popover
2018-09-27 23:02:12 +01:00
Fabio Berger
d4077ae970
Fix linter
2018-09-27 23:01:12 +01:00
Fabio Berger
c55a419178
Split _genMethodDoc into it and _genFallbackDoc for clarity. Add isFallback boolean
2018-09-27 10:57:42 +01:00
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
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
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
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
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
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
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
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