Skip to content

Commit

Permalink
fix: custom_templates config was dropped in previous commit (#630)
Browse files Browse the repository at this point in the history
  • Loading branch information
oprypin committed Oct 28, 2023
1 parent b61d4d1 commit afc4ea4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mkdocstrings/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ class PluginConfig(Config):

default_handler = opt.Type(str, default="python")
"""The default handler to use. The value is the name of the handler module. Default is "python"."""
custom_templates = opt.Optional(opt.Dir(exists=True)),
custom_templates = opt.Optional(opt.Dir(exists=True))
"""Location of custom templates to use when rendering API objects.
Value should be the path of a directory relative to the MkDocs configuration file.
"""
enable_inventory = opt.Optional(opt.Type(bool))
Expand Down

0 comments on commit afc4ea4

Please sign in to comment.