Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen committed Jul 28, 2015
1 parent c1cdc19 commit dd01184
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/conf.py
Expand Up @@ -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
Expand Down

0 comments on commit dd01184

Please sign in to comment.