Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/5.0.x' into fix-double-brackets
Browse files Browse the repository at this point in the history
# Conflicts:
#	CHANGES
  • Loading branch information
AA-Turner committed Jun 6, 2022
2 parents 36e79d7 + 34c5caf commit 3345723
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES
Expand Up @@ -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.

Expand Down
3 changes: 2 additions & 1 deletion doc/_themes/sphinx13/static/sphinx13.css
Expand Up @@ -372,7 +372,8 @@ div.quotebar {
margin-left: 1em;
}

div.topic {
div.topic,
aside.topic {
background-color: #f8f8f8;
}

Expand Down
2 changes: 1 addition & 1 deletion sphinx/domains/python.py
Expand Up @@ -396,7 +396,7 @@ def make_xrefs(self, rolename: str, domain: str, target: str,
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
Expand Down

0 comments on commit 3345723

Please sign in to comment.