Skip to content

Snippet override #16

@florian-lefebvre

Description

@florian-lefebvre

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions