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

No doc_title when no title is given #10

Open
Haniyya opened this issue Jan 29, 2018 · 1 comment
Open

No doc_title when no title is given #10

Haniyya opened this issue Jan 29, 2018 · 1 comment
Assignees

Comments

@Haniyya
Copy link

Haniyya commented Jan 29, 2018

As pointed out by @stex :

# rails_helper.rb
config.alias_example_to :apipie_example, :show_in_doc

# No title recorded (as none was given)
apipie_example do

# Title recorded
apipie_example 'I am name', doc_title: 'Something' do

# Not title recorded even though it seems one was given
apipie_example doc_title: 'Something'

So this needs fixing.

@Haniyya Haniyya self-assigned this Jan 29, 2018
@Haniyya
Copy link
Author

Haniyya commented Jan 29, 2018

First guess is that doc_title is not interpreted as metadata but as a title itself.

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

1 participant