Skip to content

Commit

Permalink
Merge pull request #9719 from tk0miya/9718_intersphinx
Browse files Browse the repository at this point in the history
Fix #9718: intersphinx: Failed to invoke sphinx.ext.intersphinx module
  • Loading branch information
tk0miya authored Oct 10, 2021
2 parents 1b8d40b + 2adc41c commit 56f97d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sphinx/addnodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
from docutils import nodes
from docutils.nodes import Element

from sphinx.util import docutils

if TYPE_CHECKING:
from sphinx.application import Sphinx

Expand Down Expand Up @@ -530,6 +528,8 @@ class manpage(nodes.Inline, nodes.FixedTextElement):


def setup(app: "Sphinx") -> Dict[str, Any]:
from sphinx.util import docutils # lazy import

app.add_node(toctree)

app.add_node(desc)
Expand Down

0 comments on commit 56f97d7

Please sign in to comment.