We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When define_group is present, format is ignored.
define_group
format
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/.
api_blueprint
index.apib
doc/
RspecApiDocumentation.configure do |config| config.filter = :public config.format = :api_blueprint end
However, 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 end
In this case, docs go to docs/api/, but it ignores format. The final file is an index.html (default format).
docs/api/
index.html
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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 todoc/
.However, I want a different directory, so I do the following:
In this case, docs go to
docs/api/
, but it ignoresformat
. The final file is anindex.html
(default format).The text was updated successfully, but these errors were encountered: