Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sphinx transforms ``--`` into an en-dash within a paragraph (not within a code, pre, or kbd block though). This presents a problem documenting command parameters such as ``--name`` where the ``--`` is transformed into a single en-dash. Rather than disabling all smartquote transformations in the Sphinx conf.py (setting ``smartquotes = False``), we fixes cases where ``--`` should not be transformed by using a block that is ignored by the smartquote transformation. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
- Loading branch information
Showing
4 changed files
with
54 additions
and
29 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
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