Skip to content

Commit a03c518

Browse files
committed
Fix the CI
Signed-off-by: Bernát Gábor <[email protected]>
1 parent 47cf25e commit a03c518

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/conf.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
from docutils import nodes
99
from sphinx import addnodes
10+
from sphinx.util import logging
1011

1112
import tox
1213

@@ -25,8 +26,8 @@ def generate_draft_news():
2526
issue = f"{home}/issue"
2627
fragments_path = ROOT_SRC_TREE_DIR / "docs" / "changelog"
2728
for pattern, replacement in (
28-
(r"[^`]@([^,\s]+)", fr"`@\1 <{home}/\1>`_"),
29-
(r"[^`]#([\d]+)", fr"`#pr\1 <{issue}/\1>`_"),
29+
(r"[^`]@([^,\s]+)", rf"`@\1 <{home}/\1>`_"),
30+
(r"[^`]#([\d]+)", rf"`#pr\1 <{issue}/\1>`_"),
3031
):
3132
for path in fragments_path.glob("*.rst"):
3233
path.write_text(re.sub(pattern, replacement, path.read_text()))
@@ -136,3 +137,5 @@ def parse_node(env, text, node):
136137
nitpick_ignore = [
137138
("py:class", "tox.interpreters.InterpreterInfo"),
138139
]
140+
# workaround for https://github.com/sphinx-doc/sphinx/issues/10112
141+
logging.getLogger("sphinx.ext.extlinks").setLevel(40)

0 commit comments

Comments
 (0)