John Firebaugh
9822f75b47
Fix output documentation
2015-10-12 11:08:25 -07:00
John Firebaugh
9dcfa84d1b
Drop @lends tags during membership inference ( fixes #161 )
2015-10-12 10:10:42 -07:00
John Firebaugh
268fcce66a
Infer module membership for [module.]exports ( fixes #113 )
2015-10-11 14:20:42 -07:00
John Firebaugh
341ab4a075
Use module pattern for infers
...
Some inferencing will require state.
2015-10-11 14:20:42 -07:00
John Firebaugh
452ffc00ab
Remove duplicate concat-stream dependency
2015-10-11 14:20:15 -07:00
John Firebaugh
7327e0093c
Make hierarchy tests 100% self-covering; fix bugs
2015-10-11 14:20:14 -07:00
John Firebaugh
ea9a9132bb
Eliminate hierarchy test dependencies
2015-10-11 14:20:14 -07:00
Tom MacWright
171b7d707a
Improve internal documentation
2015-10-11 16:16:43 -04:00
Tom MacWright
2ea79c0870
Combine highlight and html. Fixes #173
2015-10-11 16:06:21 -04:00
Anand Thakker
cea83efc84
Fix broken build. No one saw that, right?
2015-10-09 09:21:22 -04:00
Anand Thakker
eb6892192b
Safely reset yargs
2015-10-09 09:05:14 -04:00
Tom MacWright
b3c990db1f
Simpler and stricter eslint
2015-10-06 20:31:50 -04:00
Tom MacWright
d7f06fa5c4
Store commentLineNumber on errors. Fixes #159
...
cc @jfirebaugh for the review
2015-10-06 16:23:22 -04:00
Tom MacWright
a65801a6d4
Add and test default parameter parsing.
...
cc @killercup this implements default parameter parsing for both
flow-annotated and unannotated methods
2015-10-06 15:51:46 -04:00
Tom MacWright
0aa42d294f
Enable and fix no-unused-vars rule
2015-10-06 15:28:32 -04:00
Tom MacWright
5e7597239d
Expand on changelog
2015-10-06 10:56:31 -04:00
Tom MacWright
11826ad98c
Add return type inference as well
2015-10-06 10:44:08 -04:00
Tom MacWright
7730af7603
Implement flow type inference
...
cc @thejameskyle
`lib/flow_doctrine.js` is where we convert Babel-parsed
Flow annotations into doctrine-style objects so they
can be formatted with all of the existing helpers.
2015-10-06 10:31:54 -04:00
Anand Thakker
6545f3e5bf
Reset yargs to play nicely with documentation-readme
2015-10-05 22:17:47 -04:00
Anand Thakker
83517abd89
Fix: default to index.js if package.json doesn't specify
2015-10-05 21:43:16 -04:00
Tom MacWright
b173cf14a5
Fix parameter sorting, nest properties in Markdown
2015-10-05 15:02:33 -04:00
Tom MacWright
cbff1d3396
Cover es6 imports as well as exports
2015-10-05 14:26:44 -04:00
Tom MacWright
c38b91b4e3
Reparse transformed source
2015-10-05 14:19:48 -04:00
Tom MacWright
c50cb7e430
Specify babylon options
2015-10-05 09:45:52 -04:00
Tom MacWright
1e9e1dbe35
Update infer example
2015-10-04 22:01:18 -04:00
Tom MacWright
7b156d8769
Babel! 🙌
...
cc @jfirebaugh for the review
This was easier than expected.
2015-10-04 21:55:54 -04:00
Tom MacWright
472e7ffef9
Merge pull request #157 from documentationjs/infer-params
...
Infer parameters. Fixes #51
2015-10-04 21:55:33 -04:00
Tom MacWright
5753da1af6
Just deal with comment.params, not comment.tags
2015-10-04 14:04:12 -04:00
Tom MacWright
30525847f3
Handle both flattened and unflattened forms
2015-10-04 13:27:15 -04:00
Tom MacWright
7ff858420e
Infer parameters
...
This uses the AST to add (untyped) params where they aren't explicitly
specified.
Would love to infer types here as well, but espree doesn't support
them yet.
cc @anandthakker / @jfirebaugh for the review
2015-10-04 12:51:41 -04:00
Tom MacWright
c058a0d2e7
Fix formatter test
2015-10-04 12:17:11 -04:00
Tom MacWright
6c4f1f68b4
Clean up github test
2015-10-04 12:12:57 -04:00
Tom MacWright
bd0d0705f6
💯
2015-10-04 12:08:49 -04:00
Tom MacWright
1e4dd63875
Never attach an AST to a trailing comment
2015-10-04 11:39:55 -04:00
Tom MacWright
0a122b51c2
Walk trailing comments. Fixes #93
...
cc @jfirebaugh for the review
2015-10-04 11:39:55 -04:00
Tom MacWright
1e8f0e8b36
Merge pull request #155 from documentationjs/arg-parsing
...
Pull additional parsing and validation into args.js
2015-10-04 11:22:12 -04:00
Anand Thakker
398f510582
Use Array.prototype.some()
...
Closes #152
2015-10-04 10:31:38 -04:00
Anand Thakker
ea4116fed1
Pull additional parsing & validation into args.js
2015-10-04 10:26:57 -04:00
Anand Thakker
1ce6a37397
project lint setting: disallow undeclared var
2015-10-04 10:00:28 -04:00
Tom MacWright
01b34dee06
Add markdown_ast raw AST output mode
2015-10-03 16:57:37 -04:00
Tom MacWright
f0954859f6
mdast-powered Markdown output
2015-10-03 16:57:37 -04:00
Tom MacWright
a88ad7f661
Update SEE_ALSO.md
2015-10-03 11:05:30 -04:00
Tom MacWright
494eeed284
Test missed case in flatten
2015-10-02 09:28:19 -04:00
Tom MacWright
5878a2cca1
Test resolve_theme
2015-10-02 09:21:59 -04:00
Tom MacWright
bcb9e81185
Add tests for github processor
2015-10-01 21:44:00 -04:00
Tom MacWright
791dcaf1d5
Remove ref to git_dir
2015-10-01 21:32:51 -04:00
Tom MacWright
db319b0e1c
Make github internals testable
2015-10-01 21:31:52 -04:00
Tom MacWright
1603bc6357
Simplifications
2015-10-01 20:41:50 -04:00
Tom MacWright
74b9bd4e0e
Fix tests for new error strategy
2015-10-01 20:41:50 -04:00
Tom MacWright
a848202dcf
Simplify error parsing by attaching errors to comments
2015-10-01 20:41:50 -04:00