tests/extension/ref/custom_block.txt
raw| 1 | test_project |
| 2 | test_project.bar |
| 3 | # split |
| 4 | def clean(s): |
| 5 | return s, s.replace("-*-", "") |
| 6 | |
| 7 | codeautolink_custom_blocks = {"python": clean} |
| 8 | suppress_warnings = ["config.cache"] |
| 9 | # split |
| 10 | Test project |
| 11 | ============ |
| 12 | |
| 13 | .. code:: python |
| 14 | |
| 15 | import test_project |
| 16 | -*- |
| 17 | test_project.bar() -*- |
| 18 | |
| 19 | .. automodule:: test_project |