[IMP] technical: remove future warning of Sphinx

This commit is contained in:
Arnaud Joset 2020-02-11 13:42:55 +01:00 committed by Antoine Vandevenne (anv)
parent dbba515566
commit 867887613a
2 changed files with 2 additions and 2 deletions

View File

@ -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'])

View File

@ -1,2 +1,2 @@
Sphinx>=2.4.0 Sphinx>=2.4.0
Werkzeug==0.14.1 Werkzeug==0.14.1