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

Order not working #9

Open
davehg opened this issue Jun 27, 2016 · 3 comments
Open

Order not working #9

davehg opened this issue Jun 27, 2016 · 3 comments

Comments

@davehg
Copy link
Contributor

davehg commented Jun 27, 2016

At this moment, options.order is not working. I have seen that sort function is using options.toc instead.
https://github.com/documentationjs/documentation/blob/6cbf4bd1d8945e7007ba925a2831ea6234123234/lib/sort.js#L15
Is there a different way to handle it? I can create a PR.

@SunboX
Copy link
Member

SunboX commented Jun 28, 2016

I think I can remove this option. If I do read this right -> https://github.com/documentationjs/documentation/blob/master/docs/CONFIG.md than all you have to do, is to put a documentation.yml in the source folder. Is that true?

@SunboX
Copy link
Member

SunboX commented Jun 28, 2016

Ok, better idea is to change it to the toc option. It's more flexible. Can you send a PR?

@davehg
Copy link
Contributor Author

davehg commented Jun 28, 2016

Pull request sent. #10

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

No branches or pull requests

2 participants