Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen committed Jul 28, 2015
1 parent 8f4839d commit 32e1955
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/conf.py
Expand Up @@ -155,10 +155,10 @@ 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-customized", shell=True)
sys.path.insert(0, os.path.abspath('../recommonmark-customized'))
reload(recommonmark)
from recommonmark import parser
subprocess.call('cd ..; git clone https://github.com/tqchen/recommonmark recommonmark-customized;' +
'mv recomonmark-customized/recommonmark recom', shell=True)
sys.path.insert(0, os.path.abspath('..'))
from recom import parser
global source_parsers
source_parsers['.md'] = parser.CommonMarkParser

Expand Down

0 comments on commit 32e1955

Please sign in to comment.