Closed aleksarias closed 6 years ago
Yup seems valid - just wondering which other places we ought to be doing the same?
Right now this is the only place I can think of. In the future, if we include a section that details the response of an API endpoint... we should include the feature there too.
@tomchristie, what do you think about setting the width of the docs-content pane to the minimum width where pep8 length compliant lines fit within the pane without wrapping? Users would have to wrap the lines they won't to be "formatted like code" with <code> blah.. </code>
I've done it on one of my projects like this:
.docs-content {
min-width: 725px;
}
code {
white-space: pre;
font-size: 12px;
}
@tomchristie, is this something that should be merged? Let me know if there any other changes that should be made in order to merge.
Closing this off given that 0.6 is moving to a framework-agnostic suite of API tools, and will no longer include the server. See https://discuss.apistar.org/t/api-star-as-a-framework-independant-tool/614 and #624.
Adds ability to render html formatting that may be included in doc strings