Ejemplo n.º 1
0
def visit_toc_ref_html(self, node):
    refuri = node["refuri"]
    refid = as_refid(refuri)
    docname = get_descinfo_refid(refid, self.settings.env)["docname"]
    link_suffix = self.builder.link_suffix
    node["refuri"] = "%s%s%s" % (os.path.basename(docname), link_suffix, refuri)
    visit_toc_ref(self, node)
Ejemplo n.º 2
0
def visit_toc_ref_html(self, node):
    refuri = node['refuri']
    refid = as_refid(refuri)
    docname = get_descinfo_refid(refid, self.settings.env)['docname']
    link_suffix = self.builder.link_suffix
    node['refuri'] = '%s%s%s' % (os.path.basename(docname), link_suffix, refuri)
    visit_toc_ref(self, node)
Ejemplo n.º 3
0
def visit_toc_ref_html(self, node):
    refuri = node['refuri']
    refid = as_refid(refuri)
    docname = get_descinfo_refid(refid, self.settings.env)['docname']
    link_suffix = self.builder.link_suffix
    node['refuri'] = '%s%s%s' % (os.path.basename(docname), link_suffix,
                                 refuri)
    visit_toc_ref(self, node)