Skip to content

What is difference between docs:generate:ordered & docs:generate ? #250

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

Open
pramodshinde opened this issue Dec 17, 2015 · 5 comments
Open

Comments

@pramodshinde
Copy link

Hello,
Scenario 1:

config.keep_source_order = false

I tried

rake docs:generate
rake docs:generate:ordered 

For both above commands same documented is getting generated i.e ordered by description
Scenario 2:

config.keep_source_order = true

I tried

rake docs:generate
rake docs:generate:ordered 

For both above commands same documented is getting generated i.e ordered by source

In both scenario I can't find any difference between rake docs:generate:ordered & rake docs:generate, Am I missing something here?

@anilmaurya
Copy link

@pramodshinde I read Rake Task(https://github.com/zipmark/rspec_api_documentation#rake-task) section of README and I can only see

$ rake docs:generate

Can you point out where you read docs for rake docs:generate:ordered ?

@oestrich
Copy link
Contributor

The rake docs:generate:ordered task is here. I think the problem may have started when we switched to rspec 3, someone just did a PR fixing the ordered task, #245.

@anilmaurya
Copy link

Docs should be updated with available options.

@pramodshinde
Copy link
Author

@anilmaurya Yes ultimately I wanted to update docs to include both tasks, before that I tested both tasks I did not find any difference between above mentioned tasks, So wanted confirm is there any difference or its an issue?

@oestrich
Copy link
Contributor

oestrich commented Feb 1, 2016

With the new version (4.7.0) does this still happen. It has PR #245 merged.

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

3 participants