summaryrefslogtreecommitdiff
path: root/doc/_extensions
diff options
context:
space:
mode:
Diffstat (limited to 'doc/_extensions')
-rw-r--r--doc/_extensions/odoo_ext/translator.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/_extensions/odoo_ext/translator.py b/doc/_extensions/odoo_ext/translator.py
index c6e584820d5..14e4b20b144 100644
--- a/doc/_extensions/odoo_ext/translator.py
+++ b/doc/_extensions/odoo_ext/translator.py
@@ -60,6 +60,7 @@ class BootstrapTranslator(nodes.NodeVisitor, object):
self.context = []
self.section_level = 0
+ self.config = self.builder.config
self.highlightlang = self.highlightlang_base = self.builder.config.highlight_language
self.highlightopts = getattr(builder.config, 'highlight_options', {})