[IMP] technical: remove future warning of Sphinx
This commit is contained in:
parent
dbba515566
commit
867887613a
@ -646,7 +646,7 @@ class BootstrapTranslator(nodes.NodeVisitor, object):
|
|||||||
self.body.append(title if title else util.nodes.clean_astext(env.titles[ref]))
|
self.body.append(title if title else util.nodes.clean_astext(env.titles[ref]))
|
||||||
self.body.append(u'</h2>')
|
self.body.append(u'</h2>')
|
||||||
|
|
||||||
entries = [(title, ref)] if not toc else ((e[0], e[1]) for e in toc[0]['entries'])
|
entries = [(title, ref)] if not toc else ((e[0], e[1]) for e in list(toc)[0]['entries'])
|
||||||
for subtitle, subref in entries:
|
for subtitle, subref in entries:
|
||||||
baseuri = self.builder.get_target_uri(node['parent'])
|
baseuri = self.builder.get_target_uri(node['parent'])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user