Merge remote-tracking branch 'upstream/5.0.x' into fix-double-brackets

# Conflicts:
#	CHANGES
This commit is contained in:
Adam Turner
2022-06-06 15:27:55 +01:00
3 changed files with 4 additions and 2 deletions

View File

@@ -20,6 +20,7 @@ Bugs fixed
----------
* #10509: autosummary: autosummary fails with a shared library
* #10497: py domain: Failed to resolve strings in Literal. Patch by Adam Turner.
* #10523: HTML Theme: Fix double brackets on citation references in Docutils 0.18+.
Patch by Adam Turner.

View File

@@ -372,7 +372,8 @@ div.quotebar {
margin-left: 1em;
}
div.topic {
div.topic,
aside.topic {
background-color: #f8f8f8;
}

View File

@@ -396,7 +396,7 @@ class PyXrefMixin:
results.append(self.make_xref(rolename, domain, sub_target,
innernode, contnode, env, inliner, location))
if sub_target in ('Literal', 'typing.Literal'):
if sub_target in ('Literal', 'typing.Literal', '~typing.Literal'):
in_literal = True
return results