-
Notifications
You must be signed in to change notification settings - Fork 372
Open
Description
What
When define_group is present, format is ignored.
Example
In case the following example, it works as expected. The format used is api_blueprint (index.apib file, from this PR) and the docs go to doc/.
RspecApiDocumentation.configure do |config|
config.filter = :public
config.format = :api_blueprint
endHowever, I want a different directory, so I do the following:
RspecApiDocumentation.configure do |config|
config.define_group :public do |group|
group.docs_dir = Rails.root.join("docs", "api")
group.filter = :public
end
config.format = :api_blueprint
endIn this case, docs go to docs/api/, but it ignores format. The final file is an index.html (default format).
Metadata
Metadata
Assignees
Labels
No labels