From db9faae988f6b51efef7f2df219cda0ef401c5bb Mon Sep 17 00:00:00 2001 From: "A. Jesse Jiryu Davis" Date: Wed, 4 Apr 2018 18:55:04 -0400 Subject: [PATCH] sphinx 1.7.0 compatibility --- doc/taglist.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/taglist.py b/doc/taglist.py index 3b9d6a34..950f98a2 100755 --- a/doc/taglist.py +++ b/doc/taglist.py @@ -25,7 +25,10 @@ from docutils import nodes, utils from sphinx.environment import NoUri -from sphinx.util.compat import Directive +try: + from sphinx.util.compat import Directive +except ImportError: + from docutils.parsers.rst import Directive def get_tags(s):