19 Commits

Author SHA1 Message Date
Tom MacWright
bcc4b2c6b2 Enforce semi: 2 2015-12-06 18:01:55 -05: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
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
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
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
50aaf9d35b --watch and --serve flags
These new flags replace the functionality of
dev-documentation
2015-11-24 11:21:11 -05:00
Tom MacWright
463bb4e62f Improve test coverage 2015-11-09 13:08:56 -05:00
Tom MacWright
ac5b04183f Improve internal documentation, upgrade theme-default. Refs #115 2015-10-30 15:44:46 -04:00
Tom MacWright
493d2b7fe5 Change version flag meaning 2015-10-30 12:46:08 -04:00
Tom MacWright
844f4b73bb Use vfile-reporter to format error output 2015-10-25 20:39:28 -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
0aa42d294f Enable and fix no-unused-vars rule 2015-10-06 15:28:32 -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
Anand Thakker
ea4116fed1 Pull additional parsing & validation into args.js 2015-10-04 10:26:57 -04:00
Tom MacWright
f0954859f6 mdast-powered Markdown output 2015-10-03 16:57:37 -04:00
Tom MacWright
b4764e15de Use options 2015-09-30 14:02:30 -04:00
Tom MacWright
42babf7c03 Refactor arg parser out of binary 2015-09-30 13:55:47 -04:00