From 732f1c634c88bab81f40bd355d76656774a27179 Mon Sep 17 00:00:00 2001 From: tqchen Date: Fri, 21 Aug 2015 08:40:55 -0700 Subject: [PATCH] try --- doc/sphinx_util.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/sphinx_util.py b/doc/sphinx_util.py index 0b5178630..f6a33ffa3 100644 --- a/doc/sphinx_util.py +++ b/doc/sphinx_util.py @@ -6,12 +6,11 @@ import docutils import subprocess if os.environ.get('READTHEDOCS', None) == 'True': - subprocess.call('cd ..; rm -rf recommonmark recom;' + - 'git clone https://github.com/tqchen/recommonmark;' + - 'mv recommonmark/recommonmark recom', shell=True) + subprocess.call('cd ..; rm -rf recommonmark;' + + 'git clone https://github.com/tqchen/recommonmark', shell=True) -sys.path.insert(0, os.path.abspath('..')) -from recom import parser, transform +sys.path.insert(0, os.path.abspath('../recommonmark/')) +from recommonmark import parser, transform MarkdownParser = parser.CommonMarkParser AutoStructify = transform.AutoStructify