File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ from dinosaur import Dinosaur
9898import pytest
9999from mktestdocs import check_docstring, get_codeblock_members
100100
101- # This retrieves all methods/properties with a docstring.
101+ # This retrieves all methods/properties that have a docstring.
102102members = get_codeblock_members(Dinosaur)
103103
104104# Note the use of `__qualname__`, makes for pretty output
@@ -152,11 +152,13 @@ be passed any code blocks found in markdown files.
152152
153153For example if you have a markdown file like this
154154
155- This is an example REST response
155+ ```` markdown
156+ This is an example REST response
156157
157- ```json
158- {"body": {"results": ["spam", "eggs"]}, "errors": []}
159- ```
158+ ```json
159+ {"body": {"results": ["spam", "eggs"]}, "errors": []}
160+ ```
161+ ````
160162
161163You could create a json validator that tested the example was always valid json like this
162164
You can’t perform that action at this time.
0 commit comments