Skip to content

Commit 106885c

Browse files
committed
Add missing module in Sphinx autodoc helper
1 parent a071e19 commit 106885c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105
'language': ['ast', 'directive_locations', 'location',
106106
'source', 'token_kind', 'visitor'],
107107
'pyutils': ['event_emitter', 'frozen_list', 'path'],
108+
'subscription': [],
108109
'type': ['definition', 'directives', 'schema'],
109110
'utilities': ['find_breaking_changes', 'type_info'],
110111
'validation': ['rules', 'validation_context']}
@@ -185,7 +186,7 @@ def on_missing_reference(app, env, node, contnode):
185186
if doc_module:
186187
if doc_module.startswith('graphql.'):
187188
doc_module = doc_module.split('.', 1)[-1]
188-
if doc_module not in graphql_modules:
189+
if doc_module not in graphql_modules and doc_module != 'graphql':
189190
doc_module = None
190191
fromdoc = 'modules/' + (doc_module or base_module)
191192
# try resolving again with replaced target

0 commit comments

Comments
 (0)