From fe9c24326ae6569b9d193ed717fb35411e003a5c Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Tue, 10 Sep 2019 11:21:10 +0200 Subject: [PATCH] WIP try work-around --- doc/conf.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/conf.py b/doc/conf.py index fa02ea47..69fc4531 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -167,3 +167,12 @@ latex_show_urls = 'footnote' latex_show_pagerefs = True + +# -- Work-around to support sphinxcontrib.rsvgconverter on Sphinx < 1.8 --- + +# See https://github.com/missinglinkelectronics/sphinxcontrib-svg2pdfconverter/issues/2 + +import sphinx.locale + +if not hasattr(sphinx.locale, '__'): + sphinx.locale.__ = lambda *args, **kwargs: pass