@@ -154,12 +154,10 @@ def render(
154
154
)
155
155
156
156
return template .render (
157
- ** {
158
- "config" : final_config ,
159
- "module" : data ,
160
- "heading_level" : heading_level ,
161
- "root" : True ,
162
- },
157
+ config = final_config ,
158
+ module = data ,
159
+ heading_level = heading_level ,
160
+ root = True ,
163
161
)
164
162
165
163
def update_env (self , md : Markdown , config : Dict [Any , Any ]) -> None :
@@ -177,23 +175,19 @@ def get_anchors(self, data: VbaModuleInfo) -> Tuple[str, ...]:
177
175
178
176
def get_handler (
179
177
* ,
180
- theme : str ,
178
+ theme : str = "material" ,
181
179
custom_templates : str | None = None ,
182
180
config_file_path : str | None = None ,
183
- paths : list [str ] | None = None ,
184
- locale : str = "en" ,
185
- ** config : Any ,
181
+ ** kwargs : Any ,
186
182
) -> VbaHandler :
187
183
"""
188
- Simply return an instance of `VbaHandler`.
184
+ Get a new `VbaHandler`.
189
185
190
186
Arguments:
191
187
theme: The theme to use when rendering contents.
192
188
custom_templates: Directory containing custom templates.
193
189
config_file_path: The MkDocs configuration file path.
194
- paths: A list of paths to use as Griffe search paths.
195
- locale: The locale to use when rendering content.
196
- **config: Configuration passed to the handler.
190
+ kwargs: Extra keyword arguments that we don't use.
197
191
198
192
Returns:
199
193
An instance of `VbaHandler`.
0 commit comments