From 2879a4853b024943928f8f0f4ad91a2b8fa4d1d0 Mon Sep 17 00:00:00 2001 From: tqchen Date: Thu, 30 Jul 2015 17:58:42 -0700 Subject: [PATCH] chg --- doc/sphinx_util.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/sphinx_util.py b/doc/sphinx_util.py index 97279fab4..21ffaeac7 100644 --- a/doc/sphinx_util.py +++ b/doc/sphinx_util.py @@ -5,8 +5,9 @@ import os import subprocess if os.environ.get('READTHEDOCS', None) == 'True': - subprocess.call('cd ..; git clone https://github.com/tqchen/recommonmark recommonmark-customized;' + - 'ln -s recommonmark-customized/recommonmark recom', shell=True) + subprocess.call('cd ..; rm -rf recommonmark recom;' + + 'git clone https://github.com/tqchen/recommonmark' + + 'mv recommonmark/recommonmark recom', shell=True) sys.path.insert(0, os.path.abspath('..')) from recom import parser