8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 639d11e commit 29edd02Copy full SHA for 29edd02
src/mkdocstrings_handlers/python/handler.py
@@ -2,6 +2,7 @@
2
3
from __future__ import annotations
4
5
+import glob
6
import os
7
import posixpath
8
import re
@@ -128,6 +129,8 @@ def __init__(
128
129
super().__init__(*args, **kwargs)
130
self._config_file_path = config_file_path
131
paths = paths or []
132
+ resolved_globs = [glob.glob(path) for path in paths]
133
+ paths = [path for glob_list in resolved_globs for path in glob_list]
134
if not paths and config_file_path:
135
paths.append(os.path.dirname(config_file_path))
136
search_paths = [path for path in sys.path if path] # eliminate empty path
0 commit comments