From dd011849b7f0e0848f94cb2c5014eaa047391761 Mon Sep 17 00:00:00 2001 From: tqchen Date: Mon, 27 Jul 2015 17:59:22 -0700 Subject: [PATCH] minor --- doc/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 4f2e51778..cbaaa16a5 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -157,8 +157,8 @@ def generate_doxygen_xml(app): def setup_path(app): read_the_docs_build = os.environ.get('READTHEDOCS', None) == 'True' if read_the_docs_build: - subprocess.call("cd ..; git clone https://github.com/tqchen/recommonmark recommonmark-tqchen", shell=True) - sys.path.insert(0, os.path.abspath('../recommonmark-tqchen')) + subprocess.call("cd ..; rm -rf recommonmark; git clone https://github.com/tqchen/recommonmark", shell=True) + sys.path.insert(0, os.path.abspath('../recommonmark')) def setup(app): # Add hook for building doxygen xml when needed