tests/extension/ref/lexer_extdoctest_testcode.txt
raw| 1 | test_project |
| 2 | test_project.bar |
| 3 | attr |
| 4 | test_project.Foo |
| 5 | test_project.Foo |
| 6 | # split |
| 7 | extensions.append("sphinx.ext.doctest") |
| 8 | # split |
| 9 | Test project |
| 10 | ============ |
| 11 | |
| 12 | .. testcode:: |
| 13 | |
| 14 | import test_project |
| 15 | test_project.bar().attr |
| 16 | def foo(): |
| 17 | test_project.Foo |
| 18 | test_project.Foo |
| 19 | |
| 20 | .. automodule:: test_project |