Skip to content

Commit 4371355

Browse files
committed
fix docs build
1 parent c4e0c27 commit 4371355

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/sphinx/mongoc_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def find_node(doctree, klass):
8888
if not matches:
8989
raise IndexError("No %s in %s" % (klass, doctree))
9090

91-
return matches[0]
91+
return list(matches)[0]
9292

9393
class VersionList(Directive):
9494
""" Custom directive to generate the version list from an environment variable """

0 commit comments

Comments
 (0)