Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 55dee12

Browse files
committed
use inline to ignore role in file instead of ignoring error
1 parent 41d1963 commit 55dee12

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

galleries/users_explain/text/mathtext.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@
221221
# ``\mathcal{CALLIGRAPHY}`` :mathmpl:`\mathcal{CALLIGRAPHY}`
222222
# ========================= ================================
223223
#
224+
# .. rstcheck: ignore-directives=role
224225
# .. role:: math-stix(mathmpl)
225226
# :fontset: stix
226227
#

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,4 @@ ignore_messages = [
200200
"Hyperlink target \".*\" is not referenced.",
201201
"Duplicate implicit target name: \".*\".",
202202
"Duplicate explicit target name: \".*\".",
203-
# error in role directive is `.. role:: math-stix(mathmpl)
204-
"Error in \"role\" directive:",
205203
]

0 commit comments

Comments
 (0)