Skip to content

Commit 026ca6b

Browse files
committed
fix: include correct classes in test script docs page
1 parent 162137a commit 026ca6b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/conf.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,14 @@ def autodoc_process_bases_handler(app, name, obj, options, bases):
9292
def autodoc_skip_member_handler(app, what, name, obj, skip, options):
9393
# Avoid emitting non-testing classes when generating documentation for
9494
# the examples in the testing script.
95-
return skip | (not name.startswith('Test'))
95+
return skip | name.endswith('_values') | (name in [
96+
'scenarios',
97+
'to_hash_base64',
98+
'cluster',
99+
'thresholds',
100+
'common_key_methods_dump_load',
101+
'TestAPI'
102+
])
96103

97104
def setup(app):
98105
app.connect('autodoc-process-bases', autodoc_process_bases_handler)

0 commit comments

Comments
 (0)