Group all samples after the description of parameters and status code #42
Group all samples after the description of parameters and status code #42olivier-heurtier wants to merge 2 commits intosphinx-contrib:masterfrom
Conversation
|
Hey @olivier-heurtier! Thanks for the patch. Can you please shed a light on the rationale behind this change? Why do you want to group all examples after descriptions? |
|
Hi @ikalnytskyi |
|
@olivier-heurtier I'm a little bit concerned that there are some who will oppose you and say that the examples must be shown where other information about responses is shown. Just to clarify, are you concerned about showing example for a request body? Or for responses? Since responses are shown at the end, I'd assume it's ok to show them there. And as for a request body example, hm, what if we render a request body parameter as the last parameter in the list (i.e. before responses)? |
|
@ikalnytskyi what if I add a directive option to activate the grouping of all examples? Any suggestion for the name? |
|
@olivier-heurtier can we please put this on hold for a while? It's hard to maintain rendering options in the way it's written right now. I have some thoughts how to improve it, and I plan to try it this week. |
|
It's ok for me. |
No description provided.