コード例 #1
0
    def processInternalLinks(self, package, html):
        """
        take care of any internal links which are in the form of::
           
           href="exe-node:Home:Topic:etc#Anchor"

        For this SinglePage Export, go ahead and keep the #Anchor portion,
        but remove the 'exe-node:Home:Topic:etc', since it is all 
        exported into the same file.
        """
        return common.renderInternalLinkNodeAnchor(package, html)
コード例 #2
0
ファイル: singlepage.py プロジェクト: Rafav/iteexe
    def processInternalLinks(self, package, html):
        """
        take care of any internal links which are in the form of::
           
           href="exe-node:Home:Topic:etc#Anchor"

        For this SinglePage Export, go ahead and keep the #Anchor portion,
        but remove the 'exe-node:Home:Topic:etc', since it is all 
        exported into the same file.
        """
        return common.renderInternalLinkNodeAnchor(package, html)
コード例 #3
0
def processInternalLinks(package, html):
    """
    take care of any internal links which are in the form of::
       
       href="exe-node:Home:Topic:etc#Anchor"

    For this SinglePage Export, go ahead and keep the #Anchor portion,
    but remove the 'exe-node:Home:Topic:etc', since it is all 
    exported into the same file.
    
    Keep the links to the elp file (if the elp file exists).
    """
    html = common.enableLinksToElp(package, html)
    return common.renderInternalLinkNodeAnchor(package, html)
コード例 #4
0
ファイル: helper.py プロジェクト: exelearning/iteexe
def processInternalLinks(package, html):
    """
    take care of any internal links which are in the form of::
       
       href="exe-node:Home:Topic:etc#Anchor"

    For this SinglePage Export, go ahead and keep the #Anchor portion,
    but remove the 'exe-node:Home:Topic:etc', since it is all 
    exported into the same file.
    
    Keep the links to the elp file (if the elp file exists).
    """
    html = common.enableLinksToElp(package, html) 
    return common.renderInternalLinkNodeAnchor(package, html)