From bbccb4968065747c791e0d3e83d7770a69abab0b Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Sat, 9 Oct 2021 15:27:44 +0900 Subject: [PATCH] Fix #9688: ImportError for set_classes() --- sphinx/directives/patches.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sphinx/directives/patches.py b/sphinx/directives/patches.py index 0a076ad4f..dd01cb34a 100644 --- a/sphinx/directives/patches.py +++ b/sphinx/directives/patches.py @@ -15,6 +15,7 @@ from docutils import nodes from docutils.nodes import Node, make_id, system_message from docutils.parsers.rst import directives from docutils.parsers.rst.directives import images, tables +from docutils.parsers.rst.roles import set_classes from sphinx import addnodes from sphinx.deprecation import RemovedInSphinx60Warning