Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a --sort-order option #535

Merged
merged 1 commit into from
Sep 8, 2016
Merged

Add a --sort-order option #535

merged 1 commit into from
Sep 8, 2016

Conversation

arv
Copy link
Contributor

@arv arv commented Sep 8, 2016

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

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 documentationjs#534
@arv arv assigned tmcw Sep 8, 2016
@tmcw
Copy link
Member

tmcw commented Sep 8, 2016

👍 LGTM. Alpha will entirely turn off toc functionality, right?

@arv
Copy link
Contributor Author

arv commented Sep 8, 2016

No, alpha will still allow toc. When a toc is present those comments are handled first, then the rest (unfixed) are sorted

@tmcw
Copy link
Member

tmcw commented Sep 8, 2016

👍 cool

@tmcw tmcw merged commit a5ac4a7 into documentationjs:master Sep 8, 2016
@arv arv deleted the sort-order branch September 8, 2016 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants