try
This commit is contained in:
parent
2fa6e0245a
commit
732f1c634c
@ -6,12 +6,11 @@ import docutils
|
|||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
if os.environ.get('READTHEDOCS', None) == 'True':
|
if os.environ.get('READTHEDOCS', None) == 'True':
|
||||||
subprocess.call('cd ..; rm -rf recommonmark recom;' +
|
subprocess.call('cd ..; rm -rf recommonmark;' +
|
||||||
'git clone https://github.com/tqchen/recommonmark;' +
|
'git clone https://github.com/tqchen/recommonmark', shell=True)
|
||||||
'mv recommonmark/recommonmark recom', shell=True)
|
|
||||||
|
|
||||||
sys.path.insert(0, os.path.abspath('..'))
|
sys.path.insert(0, os.path.abspath('../recommonmark/'))
|
||||||
from recom import parser, transform
|
from recommonmark import parser, transform
|
||||||
|
|
||||||
MarkdownParser = parser.CommonMarkParser
|
MarkdownParser = parser.CommonMarkParser
|
||||||
AutoStructify = transform.AutoStructify
|
AutoStructify = transform.AutoStructify
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user