@@ -154,12 +154,10 @@ def render(
154154 )
155155
156156 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 ,
163161 )
164162
165163 def update_env (self , md : Markdown , config : Dict [Any , Any ]) -> None :
@@ -177,23 +175,19 @@ def get_anchors(self, data: VbaModuleInfo) -> Tuple[str, ...]:
177175
178176def get_handler (
179177 * ,
180- theme : str ,
178+ theme : str = "material" ,
181179 custom_templates : str | None = None ,
182180 config_file_path : str | None = None ,
183- paths : list [str ] | None = None ,
184- locale : str = "en" ,
185- ** config : Any ,
181+ ** kwargs : Any ,
186182) -> VbaHandler :
187183 """
188- Simply return an instance of `VbaHandler`.
184+ Get a new `VbaHandler`.
189185
190186 Arguments:
191187 theme: The theme to use when rendering contents.
192188 custom_templates: Directory containing custom templates.
193189 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.
197191
198192 Returns:
199193 An instance of `VbaHandler`.
0 commit comments