From: Tomasz Buchert Date: Sun, 16 Aug 2020 12:56:51 +0200 Subject: Workaround for #963648. --- doc/_exts/rubydomain/rubydomain.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/_exts/rubydomain/rubydomain.py b/doc/_exts/rubydomain/rubydomain.py index db35233..105467b 100644 --- a/doc/_exts/rubydomain/rubydomain.py +++ b/doc/_exts/rubydomain/rubydomain.py @@ -24,6 +24,9 @@ from sphinx.directives import ObjectDescription from sphinx.util.nodes import make_refnode from sphinx.util.docfields import Field, GroupedField, TypedField +# NOTE(#963648): Fix for sphinx >= 3. +l_ = _ + # REs for Ruby signatures rb_sig_re = re.compile( r'''^ ([\w.]*\.)? # class name(s)