def create(dir=None): """ Args: dir (str): The target dir to create the link in. When no target is specified, all devLinks.EcDirs are considered as the targets. """ if dir: devLinks.linkEc(dir) else: for dir in devLinks.EcDirs: devLinks.linkEc(dir) make_link("sphinxdoc/eccontrib", "docs/eccontrib-dev")
def create(dir=None): """ Args: dir (str): The target dir to create the link in. When no target is specified, all devLinks.EcDirs are considered as the targets. """ if dir: devLinks.linkEc(dir) else: for dir in devLinks.EcDirs: devLinks.linkEc(dir) make_link('sphinxdoc/eccontrib', 'docs/eccontrib-dev')
def linkEc(dir): make_link("ec", "%s/ec" % dir)
def linkEc(dir): make_link('ec', '%s/ec' % dir)