forked from sphinx-doc/sphinx
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check complete ancestry of text nodes for smartquotes eligibility.
Fixes sphinx-doc#9564.
- Loading branch information
1 parent
8fd4373
commit dbaff64
Showing
5 changed files
with
46 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,7 @@ test-smartquotes | |
================ | ||
|
||
-- "Sphinx" is a tool that makes it easy ... | ||
|
||
.. toctree:: | ||
|
||
literals |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
literals | ||
======== | ||
|
||
.. role:: python(code) | ||
:language: python | ||
.. default-role:: python | ||
|
||
Standard :code:`code role with 'quotes'` | ||
|
||
This is a Python :python:`{'code': 'role', 'with': 'quotes'}`. | ||
|
||
This is a ``literal with 'quotes'`` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters