Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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