Deprecated functions used to/are supposed to be marked with a "This .. is deprecated since ..., use ... instead" banner near the top of the documentation page.
This currently does not work.
Example: https://developer.wordpress.org/reference/functions/sticky_class/
Source: https://core.trac.wordpress.org/browser/tags/5.9/src/wp-includes/deprecated.php#L3149