Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/source/_ext/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import sphinx
from sphinx.locale import _
from sphinx.util.docutils import SphinxDirective
from sphinx.errors import ExtensionError
from sphinx.errors import ExtensionError, NoUri

from conf import languages as LANGUAGES

Expand Down Expand Up @@ -84,7 +84,7 @@ def _extract_global(self, nodes):

name, _ = node.children
if name.tagname != "field_name":
raise Exception(f"Expected a field name here, found {name_node.tagname}")
raise Exception(f"Expected a field name here, found {name.tagname}")

if str(name.children[0]) == "global":
return True
Expand Down
Loading