Returns `True` if `docstring` is written in rst.
(docstring)
| 701 | |
| 702 | |
| 703 | def is_rst_docstring(docstring): |
| 704 | """ |
| 705 | Returns `True` if `docstring` is written in rst. |
| 706 | """ |
| 707 | if _re_rst_special_words.search(docstring) is not None: |
| 708 | return True |
| 709 | if _re_double_backquotes.search(docstring) is not None: |
| 710 | return True |
| 711 | if _re_rst_example.search(docstring) is not None: |
| 712 | return True |
| 713 | return False |
| 714 | |
| 715 | |
| 716 | def check_docstrings_are_in_md(): |
no outgoing calls
no test coverage detected