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
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
Iilei
ebcee3ae07
Pass though hljs options: Enable hljs highlightAuto and languages
...
By providing a hljs object within the configuration, `@example` tags in
a variety of languages are parsed properly.
2015-11-25 17:31:58 +01:00
Tom MacWright
138af0e5be
Remove duplicate tests. Fixes #255
2015-11-24 13:09:54 -05:00
Tom MacWright
cd0e8143db
Simplify extension check, add coverage
2015-11-24 13:00:32 -05:00
Kevin Wenner
356616ea1e
Add an extension option
...
This new option change the previous behavior of parsing every input files
from module-deps except json. But if one use browserify to require json file
they may require other file types that cant be supported by documentationjs,
the new behaviour is to parse files whose extension match one in a whitelist
2015-11-24 12:35:16 -05:00
Tom MacWright
e974a7a854
Add test for --external option
2015-11-24 12:29:03 -05:00
kketch
c1962457c9
add an external option
...
add an external option for the cli and permit the use of multiple patterns / globs
in an array. Use micromatch.any() instead of micromatch.matcher()
2015-11-24 12:18:48 -05:00
Tom MacWright
4208293565
Fix test fixture
2015-11-24 11:41:42 -05:00
Tom MacWright
fe82dde727
Fix HTML validity with default template
2015-11-24 11:35:17 -05:00
Tom MacWright
50aaf9d35b
--watch and --serve flags
...
These new flags replace the functionality of
dev-documentation
2015-11-24 11:21:11 -05:00
John Firebaugh
4416acb99f
Fix tests ( fixes #254 )
2015-11-22 12:08:02 -08:00
Tom MacWright
e4cb2ffe67
Force eslint bump, confirm its included bugfix. Fixes #204
2015-11-17 11:21:48 -05:00
Tom MacWright
432151bce8
Fix nullable type support. Fixes #245
2015-11-17 11:12:42 -05:00
Lucas Wojciechowski
a8581b41e7
Fix exception when formatting lint errors
2015-11-11 09:35:00 -05:00
Tom MacWright
ab318125d4
3.0.4
v3.0.4
2015-11-09 13:15:57 -05:00
Tom MacWright
77f0610fa7
Changelog for 3.0.4
2015-11-09 13:15:48 -05:00
Tom MacWright
463bb4e62f
Improve test coverage
2015-11-09 13:08:56 -05:00
Tom MacWright
33552c6e8a
Fix type merging. Fixes #233
...
Some params cannot be identified with only param.name. This
changes the algorithm to transform parameters into doc objects
first, and then using the value of doc.name, which is defined
even for parameters with default values.
2015-11-09 12:51:15 -05:00
Tom MacWright
eed48f7840
Support github links in markdown output
2015-11-09 12:04:52 -05:00
Tom MacWright
8a2ec3efad
Allow param tag type to be inferred and merged with description
2015-11-05 14:48:41 -05:00
Tom MacWright
37abe4cb20
3.0.3
v3.0.3
2015-11-04 18:00:58 -05:00
Tom MacWright
d3d609f3e6
Update changelog for 3.0.3
2015-11-04 18:00:53 -05:00
Tom MacWright
012a16f246
Fix name-annotated rest annotations
2015-11-04 17:56:59 -05:00
Tom MacWright
70cc7d0718
Infer Flow type aliases into typedefs. Fixes #227
...
Given the `type` tag introduced with Flow, this can infer
a typedef statement, as well as infer its potentially
nested properties and their types.
This also includes
* Refactor of Markdown AST generation that fixes #228
* Refactor of nest.js to handle multi-level nesting
2015-11-04 11:25:32 -05:00
Tom MacWright
88bc96d71a
s/esprima/babel, discuss inference
2015-11-03 18:15:44 -05:00
Tom MacWright
d11783b4c7
3.0.2
v3.0.2
2015-11-03 17:55:33 -05:00
Tom MacWright
54f8510630
Update changelog for v3.0.2
2015-11-03 17:52:47 -05:00
Tom MacWright
55f79ebf14
Infer rest parameters. Fixes #223
2015-11-03 17:40:33 -05:00
Tom MacWright
c53f577240
Avoid filtering comments in lint mode. Fixes #186
2015-11-03 12:35:39 -05:00
Tom MacWright
b53f94766e
Nest both properties and params. Fixes #164
2015-11-03 11:59:17 -05:00
Tom MacWright
51d4478ac2
Refactor Markdown AST representation. Fixes #216
2015-11-03 10:50:18 -05:00
Tom MacWright
3605158cd7
3.0.1
v3.0.1
2015-11-02 16:40:47 -05:00
Tom MacWright
45bcbbd161
Update changelog for 3.0.1
2015-11-02 16:40:39 -05:00
Tom MacWright
e17b481f03
Use Boolean trick for Markdown AST as well
2015-10-31 20:51:29 -04:00
Tom MacWright
5c62d23d4f
Simplify, remove extend
2015-10-31 11:02:14 -04:00