Sphinx's reST parser replaces a transform class for smart-quotes by its own refs: sphinx.io.SphinxStandaloneReader
(self)
| 66 | """A reST parser for Sphinx.""" |
| 67 | |
| 68 | def get_transforms(self) -> list[type[Transform]]: |
| 69 | """Sphinx's reST parser replaces a transform class for smart-quotes by its own |
| 70 | |
| 71 | refs: sphinx.io.SphinxStandaloneReader |
| 72 | """ |
| 73 | transforms = super(RSTParser, RSTParser()).get_transforms() |
| 74 | transforms.remove(SmartQuotes) |
| 75 | return transforms |
| 76 | |
| 77 | def parse(self, inputstring: str | StringList, document: nodes.document) -> None: |
| 78 | """Parse text and generate a document tree.""" |
no test coverage detected