You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import sphinx.parsers
|
|
import docutils.parsers.rst as rst
|
|
|
|
class CStrip(sphinx.parsers.Parser):
|
|
def __init(self):
|
|
self.rst_parser = rst.Parser()
|
|
|
|
def parse(self, inputstring, document):
|
|
print(inputstring)
|
|
self.rst_parser(stripped, document)
|