Skip to content

Commit 229fe7d

Browse files
befelemestephenfin
authored andcommitted
Annotate the list of strings correctly for Sphinx 8.2+
This also works with an older Sphinx, tested on 8.1.3.
1 parent 8be157f commit 229fe7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinxcontrib/apidoc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def setup(app: Sphinx) -> Dict[str, Any]:
2424
app.add_config_value('apidoc_module_dir', None, 'env', [str])
2525
app.add_config_value('apidoc_output_dir', 'api', 'env', [str])
2626
app.add_config_value('apidoc_template_dir', 'templates', 'env', [str])
27-
app.add_config_value('apidoc_excluded_paths', [], 'env', [[str]])
27+
app.add_config_value('apidoc_excluded_paths', [], 'env', list[str])
2828
app.add_config_value('apidoc_separate_modules', False, 'env', [bool])
2929
app.add_config_value('apidoc_toc_file', None, 'env', [str, bool])
3030
app.add_config_value('apidoc_module_first', False, 'env', [bool])

0 commit comments

Comments
 (0)