mirror of
https://github.com/odoo/documentation.git
synced 2025-12-12 07:29:27 +07:00
[IMP] technical: remove future warning of Sphinx
This commit is contained in:
committed by
Antoine Vandevenne (anv)
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(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:
|
||||
baseuri = self.builder.get_target_uri(node['parent'])
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
Sphinx>=2.4.0
|
||||
Werkzeug==0.14.1
|
||||
Werkzeug==0.14.1
|
||||
|
||||
Reference in New Issue
Block a user