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 19b0f01 commit a8f00cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,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 ..; rm -rf recommonmark; git clone https://github.com/tqchen/recommonmark", shell=True)
sys.path.insert(0, os.path.abspath('../recommonmark'))
subprocess.call("cd ..; git clone https://github.com/tqchen/recommonmark recommonmark-tqchen", shell=True)
sys.path.insert(0, os.path.abspath('../recommonmark-tqchen'))
from recommonmark import parser
global source_parsers
source_parsers['.md'] = parser.CommonMarkParser
Expand Down

0 comments on commit a8f00cc

Please sign in to comment.