Skip to content

Commit 06237aa

Browse files
committed
Remove duplicated rule for C
1 parent 7945e5f commit 06237aa

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

docstring_to_markdown/rst.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,6 @@ def __init__(
9494
)
9595

9696
SPHINX_RULES: List[Directive] = [
97-
Directive(
98-
pattern=r':c:({}):`\.?(?P<name>[^`]+?)`'.format('|'.join(SPHINX_CROSS_REF_C)),
99-
replacement=r'`\g<name>`'
100-
),
10197
Directive(
10298
pattern=r':c:({}):`\.?(?P<name>[^`]+?)`'.format('|'.join(SPHINX_CROSS_REF_C)),
10399
replacement=r'`\g<name>`'

0 commit comments

Comments
 (0)