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)
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)
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)