Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark unavailable and deprecated symbols #998

Closed

Conversation

steviki
Copy link
Contributor

@steviki steviki commented Aug 10, 2018

Fixes #843.

This PR adds the ability to detect unavailable and deprecated symbols, as well as the related messages.

In the generated documentation, an unavailable or deprecated symbol is marked with a strikethrough of its name, and adds a box with the unavailable message or the deprecated message when expanding the symbol.

We are already using this in production for the PSPDFKit for iOS API documentation. (See https://pspdfkit.com/api/ios/Classes/PSPDFDocumentViewLayout.html#/c:objc(cs)PSPDFDocumentViewLayout(py)pagingEnabled for an example of a deprecated API.)

screen shot 2018-08-16 at 09 07 34

@johnfairh
Copy link
Collaborator

Continuing in #1041.

@johnfairh johnfairh closed this Jan 22, 2019
@steviki steviki deleted the unavailable-deprecated-attributes branch July 30, 2020 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants