12 Commits

Author SHA1 Message Date
Erik Arvidsson
a71bb03681 Fix sort order alpha (#542)
The old code didn't work correctly with regards to making the sort
aware of memberof.
2016-09-12 16:41:28 -07:00
Erik Arvidsson
a5ac4a798c Add a --sort-order option (#535)
Valid values for the `--sort-order` flag are `"source"` (default) and
`"alpha"`. When set to `"alpa"` the order of the entries in the docs
are sorted alphabetically.

Fixes #534
2016-09-08 18:26:02 -04:00
Tom MacWright
c7726bbb19 Report bad TOC entries. Fixes #442 (#475) 2016-07-16 19:40:17 -04:00
Anand Thakker
b4fe8edf92 Fixes TOC entries missing description in serve (#470)
* Fixes TOC entries missing description in `serve`

* Remove console statements
2016-07-11 15:03:41 -04:00
Tom MacWright
7f032d6c6a Improve internal documentation 2016-06-02 13:22:06 -04:00
Tom MacWright
bb41619c73 Restore default values. Fix sort test 2016-05-05 10:00:57 -04:00
Tom MacWright
888f5eccfb Superpowered sorting 2016-05-04 10:47:54 -04:00
Tom MacWright
3da1ff6dd0 Source-sorting by default (#410)
* Source-sorting by default

Many changes

* Uses a new version of module-deps that exposes a sort key
  we use to sort documentation.
* Adds inference for methods in objects
* Groups events into a separate comment property

* Add jsdoc property. Refs https://github.com/documentationjs/documentation/pull/388#issuecomment-215791547

* Namespaces and paths

* More powerful paths: paths now include name, kind, and scope
* comments now include a 'namespace' property with a formatted namespace

* Fix tests

* Re-ignore fonts

* Nix sourceKey from output

* Pin dependency versions

* Fix module-deps-sortable ref

* Update tests for right deps
2016-04-29 18:09:52 -04:00
Tom MacWright
7519a5afef Sort documentation in code order. 2016-04-26 13:11:04 -04: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
c24a9b88a4 Enable jsdoc rule and enforce it.
Also:

* Moves reduction out of parsers so that they don't have awkward
  function signatures
2015-09-28 20:36:07 -04:00
Tom MacWright
7c1ecec5ca Work on sort tests 2015-09-26 13:34:25 -04:00