We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 01861b0 + 7e42701 commit 92dcaceCopy full SHA for 92dcace
pytorch_sphinx_theme2/custom_directives.py
@@ -36,7 +36,7 @@ class IncludeDirective(Directive):
36
has_content = False
37
add_index = False
38
39
- docstring_pattern = r'"""(?P<docstring>(?:.|[\r\n])*?)"""\n'
+ docstring_pattern = r'r?"""(?P<docstring>(?:.|[\r\n])*?)"""\n'
40
docstring_regex = re.compile(docstring_pattern)
41
42
def run(self):
0 commit comments