Skip to content

Commit b212465

Browse files
committed
docs: clean up get_object docstring
1 parent 01c91fb commit b212465

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

quartodoc/autosummary.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ def get_object(
8787
dynamic: bool
8888
Whether to dynamically import object. Useful if docstring is not hard-coded,
8989
but was set on object by running python code.
90-
modules_collection: optional
91-
A griffe [](`~griffe.collections.ModulesCollection`), used to hold loaded modules.
9290
9391
See Also
9492
--------
@@ -521,7 +519,7 @@ def from_quarto_config(cls, quarto_cfg: "str | dict"):
521519
quarto_cfg = yaml.safe_load(open(quarto_cfg))
522520

523521
cfg = quarto_cfg["quartodoc"]
524-
style = cfg["style"]
522+
style = cfg.get("style", "pkgdown")
525523

526524
cls_builder = cls._registry[style]
527525

0 commit comments

Comments
 (0)