Show More
@@ -163,9 +163,8 b' Testing directive outputs' | |||||
163 | ========================= |
|
163 | ========================= | |
164 |
|
164 | |||
165 | The IPython Sphinx Directive makes it possible to test the outputs that you provide with your code. To do this, |
|
165 | The IPython Sphinx Directive makes it possible to test the outputs that you provide with your code. To do this, | |
166 |
decorate the contents in your directive block with one of the |
|
166 | decorate the contents in your directive block with one of the options listed | |
167 |
|
167 | above. | ||
168 | * list directives here |
|
|||
169 |
|
168 | |||
170 | If an IPython doctest decorator is found, it will take these steps when your documentation is built: |
|
169 | If an IPython doctest decorator is found, it will take these steps when your documentation is built: | |
171 |
|
170 | |||
@@ -435,7 +434,7 b' And persist across sessions' | |||||
435 | print(square(-2)) |
|
434 | print(square(-2)) | |
436 |
|
435 | |||
437 | Pretty much anything you can do with the ipython code, you can do with |
|
436 | Pretty much anything you can do with the ipython code, you can do with | |
438 |
|
|
437 | a simple python script. Obviously, though it doesn't make sense | |
439 | to use the doctest option. |
|
438 | to use the doctest option. | |
440 |
|
439 | |||
441 | .. _pseudo-decorators: |
|
440 | .. _pseudo-decorators: |
General Comments 0
You need to be logged in to leave comments.
Login now