ok
This commit is contained in:
parent
7eeeb79599
commit
93137b2e52
@ -155,8 +155,8 @@ source_parsers = {
|
||||
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 recom", shell=True)
|
||||
sys.path.insert(0, os.path.abspath('../recom'))
|
||||
subprocess.call("cd ..; git clone https://github.com/tqchen/recommonmark recommonmark-customized", shell=True)
|
||||
sys.path.insert(0, os.path.abspath('../recomonmark-customized'))
|
||||
reload(recommonmark)
|
||||
from recommonmark import parser
|
||||
global source_parsers
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user