Skip to content

Show deprecation reason in stdlib docs on rescript-lang.org #1259

@yangdanny97

Description

@yangdanny97

For example: https://rescript-lang.org/docs/manual/api/stdlib/option/#value-getWithDefault just shows a "deprecated" banner, but it doesn't show what API should be used instead.

Reading the code & in the sandbox I can see the reason:

Use getOr instead

It would be nice to also have that on the documentation website

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions