-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Currently, adding code snippets to the code-examples directory show only them in the api docs. For instance :
- https://docs.novu.co/api/update-subscriber/ has no custom code snippet so all languages are available in the related dropdown
- https://docs.novu.co/api/get-changes/ has a custom code snippet so
Node.jsis the only available snippet
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed