Currently, adding code snippets to the code-examples directory show only them in the api docs. For instance :
I suggest the custom snippets only act as an override for the language, so that other ones (for instance Go or Python) can remain.
This is critical IMO because changes we make do not wait on the release of the next version of the clients from the monorepo. For instance, #15 added a custom snippet because the related code has been merged in the monorepo but v9 is not released yet (novuhq/novu#1261), so people can't see other way of doing this.
cc @scopsy
Currently, adding code snippets to the code-examples directory show only them in the api docs. For instance :
Node.jsis the only available snippetI suggest the custom snippets only act as an override for the language, so that other ones (for instance Go or Python) can remain.
This is critical IMO because changes we make do not wait on the release of the next version of the clients from the monorepo. For instance, #15 added a custom snippet because the related code has been merged in the monorepo but v9 is not released yet (novuhq/novu#1261), so people can't see other way of doing this.
cc @scopsy