Skip to content

Commit

Permalink
fixup! Make extension paths relative to config file
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Oct 31, 2023
1 parent e9d208e commit 168a2ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mkdocstrings_handlers/python/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,9 @@ def collect(self, identifier: str, config: Mapping[str, Any]) -> CollectorItem:
parser_name = final_config["docstring_style"]
parser_options = final_config["docstring_options"]
parser = parser_name and Parser(parser_name)
extensions = self.normalize_extension_paths(final_config.get("extensions", []))

if unknown_module:
extensions = self.normalize_extension_paths(final_config.get("extensions", []))
loader = GriffeLoader(
extensions=load_extensions(extensions),
search_paths=self._paths,
Expand Down

0 comments on commit 168a2ef

Please sign in to comment.