Tom MacWright
d95026ea8b
Since #300 fixed #291 , cover it with tests. Fixes #291
2015-12-10 17:00:12 -05:00
Tom MacWright
71f778bcb1
Simplify destructuring types
2015-12-10 16:55:02 -05:00
Tom MacWright
4e0029892a
Optimize tests
2015-12-10 16:29:55 -05:00
Tom MacWright
6f929642b4
Remove Markdown theme tests. Fixes #302
2015-12-10 16:20:16 -05:00
Tom MacWright
4b252ebf00
Avoid traversal where possible. Fixes #293
2015-12-10 16:11:44 -05:00
Tom MacWright
ea4baa9ca2
Merge pull request #298 from akiellor/bump-deps
...
Upgrade deps which don't cause failures.
2015-12-10 09:40:27 -05:00
Anand Thakker
d0fbc86a16
Merge pull request #299 from tadatuta/patch-1
...
Fix typo
2015-12-10 06:39:27 -05:00
Vladimir Grinenko
238d4f3b2e
Fix typo
2015-12-10 11:42:22 +03:00
Andrew Kiellor
ad3bea11ad
Update dependencies that result in no test failures.
2015-12-09 21:04:17 -08:00
Andrew Kiellor
312d3957fe
Add david badge for dependency freshness.
2015-12-09 21:02:03 -08:00
Anand Thakker
ea25fadea6
CLI fail gracefully on unknown command
2015-12-09 07:04:23 -05:00
Tom MacWright
d265cb3cec
Bump theme to fix nested member examples. Fixes #267
2015-12-08 09:47:08 -05:00
Tom MacWright
71a52e5ed1
Support membership inference in class expressions. Fixes #284
2015-12-07 18:37:26 -05:00
Tom MacWright
bb9fc5f8e5
Infer augments tag from extends keyword. Fixes #195
2015-12-07 18:17:05 -05:00
Tom MacWright
931f48eefc
Implement five tags:
...
- version
- author
- license
- copyright
- since
These are flattened and output in Markdown. HTML output will
require an update in the theme module
2015-12-07 17:53:00 -05:00
Tom MacWright
1a214ac3b2
Upgrade default theme
2015-12-07 17:29:47 -05:00
Tom MacWright
48b1166d00
Use released theme
2015-12-07 16:59:53 -05:00
Tom MacWright
a20aa1e25d
Use released modules
2015-12-07 16:59:24 -05:00
Tom MacWright
8e0f960db0
Move type formatting helper to utils package
2015-12-07 16:26:14 -05:00
John Firebaugh
0a1de4f343
Theme API 2.0
2015-12-07 16:09:24 -05:00
Tom MacWright
b756c0ce58
Support alias tag. Refs #9
2015-12-07 13:04:01 -05:00
Tom MacWright
167079c9fe
Ignore polyglot file for linguist. Fixes #281
2015-12-07 12:52:36 -05:00
Tom MacWright
73d6118e1c
Implement all doctrine-emitted types. Fixes #249
2015-12-07 12:44:15 -05:00
Anand Thakker
571137a77d
Merge pull request #277 from documentationjs/refactor-commands-new
...
Refactor commands into modules
2015-12-06 21:28:11 -05:00
Tom MacWright
a6f0435bfe
Fix coverage of array destructuring
2015-12-06 19:57:14 -05:00
Tom MacWright
ea8d47f19f
Merge branch 'master' of github.com:documentationjs/documentation
2015-12-06 19:54:56 -05:00
Tom MacWright
b3ac22430b
Test and document behavior around documenting destructured params.
2015-12-06 19:47:36 -05:00
Tom MacWright
efb2b8e56f
Merge pull request #268 from karlhorky/patch-1
...
Add Flow section to getting started
2015-12-06 19:37:40 -05:00
Tom MacWright
1d1aba82ab
Improve parameter inference for destructuring and defaults
...
Fixes #271
2015-12-06 19:29:04 -05:00
Anand Thakker
b609664ed8
Add another note about command modules
2015-12-06 18:39:28 -05:00
Anand Thakker
0022934d90
Fix lint errors
2015-12-06 18:16:41 -05:00
Anand Thakker
e492be67d1
Add some comments re: command plugins
2015-12-06 18:13:17 -05:00
Anand Thakker
5c8459d957
Reorganize argument parsing
...
Arg parsing is now split into common options (in bin/documentation.js)
and command-specific options (in each command module, exported as
parseArgs).
This includes moving `--private` and `--github` to the common args
instead of having them under the build/serve commands. Reason: these
two args are options understood by the main module, as opposed to args
like `--format` which are only understood by the actual output piece
in build/serve.
Also removes `args.js`, which had previously exported the argument
parsing for use in situations like documentation-readme. The need
for this, I think, is largely made irrelevant in the face of slightly
generalizing the CLI to use commands.
2015-12-06 18:13:17 -05:00
Anand Thakker
795d1e3794
Refactor commands to separate modules
2015-12-06 18:12:19 -05:00
Tom MacWright
6ab9b2f13e
Merge branch 'master' of github.com:documentationjs/documentation
2015-12-06 18:02:08 -05:00
Tom MacWright
bcc4b2c6b2
Enforce semi: 2
2015-12-06 18:01:55 -05:00
Anand Thakker
3f725d73f4
Update default theme version and related test
2015-12-06 17:46:30 -05:00
John Firebaugh
3fc2f11e76
Use path.basename(file) consistently
2015-12-06 10:56:23 -08:00
John Firebaugh
638689e0ad
Add parsing unit tests
2015-12-06 10:56:23 -08:00
John Firebaugh
1a711644f5
Fix test
2015-12-06 10:56:08 -08:00
Karl Horky
01730ef78d
Add Flow section to getting started
2015-12-05 12:42:32 +01:00
Tom MacWright
d069b6a40b
Support new node versions, including v4 and v5
...
* Compare strings as lowercase, to permit for v4+ compatibility
* Fix bad reference to loc.name
* Update README badge and fixture
* Remove brfs dependency
* Remove traverse
* Remove browser transform support
2015-12-01 15:34:50 -05:00
Tom MacWright
d470b54213
Correctly interpret name tag. Fixes #205
2015-11-28 11:50:29 -05:00
Tom MacWright
7123711c46
Allow null members of a pipeline
2015-11-28 11:02:43 -05:00
Tom MacWright
6b8cc62eef
Trim later to protect against sha HEAD files with newlines
2015-11-28 10:53:31 -05:00
Tom MacWright
7084147d51
Fix and test detached url prefixes. Fixes #251
2015-11-25 15:00:39 -05:00
Tom MacWright
09a043d665
Force ansi-html bump
2015-11-25 14:47:27 -05:00
Tom MacWright
57b2452353
Use setColor to produce more readable colors
...
Fixes #258
2015-11-25 14:39:15 -05:00
Tom MacWright
8fd36f986a
Fix and cover bug in walk, make highlighting functional
2015-11-25 14:19:55 -05:00
Tom MacWright
826e05b469
Merge pull request #243 from iilei/configurable_hljs
...
optional language detection in examples
2015-11-25 13:48:06 -05:00