@@ -65,7 +65,7 @@ def collect(self, identifier: str, config: MutableMapping[str, Any]) -> Collecto
65
65
Returns:
66
66
Anything you want, as long as you can feed it to the `render` method.
67
67
"""
68
- raise CollectionError ( "Implement me!" )
68
+ return { "identifier" : identifier }
69
69
70
70
def render (self , data : CollectorItem , config : Mapping [str , Any ]) -> str : # noqa: ARG002
71
71
"""Render a template using provided data and configuration options.
@@ -78,13 +78,10 @@ def render(self, data: CollectorItem, config: Mapping[str, Any]) -> str: # noqa
78
78
Returns:
79
79
The rendered template as HTML.
80
80
"""
81
- # final_config = {**self.default_config, **config}
82
- # heading_level = final_config["heading_level"]
83
- # template = self.env.get_template(f"{data...}.html.jinja")
84
- # return template.render(
85
- # **{"config": final_config, data...: data, "heading_level": heading_level, "root": True},
86
- # )
87
- raise PluginError ("Implement me!" )
81
+ return (
82
+ f"<i><b><code>::: { data ['identifier' ]} </code></b><br>The public version of mkdocstrings-javascript is a no-op "
83
+ "and exist only to allow building docs without errors. Please rely on docs preview in CI.</i>"
84
+ )
88
85
89
86
def update_env (self , md : Markdown , config : dict ) -> None :
90
87
"""Update the Jinja environment with any custom settings/filters/options for this handler.
0 commit comments