Example #1
0
    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")
Example #2
0
    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')
Example #3
0
File: main.py Project: Laufire/ec
 def linkEc(dir):
     make_link("ec", "%s/ec" % dir)
Example #4
0
 def linkEc(dir):
     make_link('ec', '%s/ec' % dir)