Fix ReadTheDocs build due to c2rst.

This commit is contained in:
Scott Shawcroft 2018-05-23 11:53:00 -07:00
parent 165b28438a
commit 27551cbb4d
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ class CStrip(sphinx.parsers.Parser):
def parse(self, inputstring, document):
# This setting is missing starting with Sphinx 1.7.1 so we set it ourself.
document.settings.tab_width = 4
document.settings.character_level_inline_markup = False
stripped = []
for line in inputstring.split("\n"):
line = line.strip()