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

[DOC] improved deprecation recipes #5890

Merged
merged 4 commits into from Feb 11, 2024
Merged

[DOC] improved deprecation recipes #5890

merged 4 commits into from Feb 11, 2024

Conversation

fkiraly
Copy link
Collaborator

@fkiraly fkiraly commented Feb 4, 2024

This PR splits the current deprecation recipe example into two, and adds more details.

FYI @yarnabrina, I think your example was quite nice, but it combined two of the "base recipes" (changing default value, changing name), so is probably going to be confusing to a new developer. It is better if any examples match one of the recipes 1:1. I think it also was not entirely in line with the recipe (e.g., use of None vs string "deprecated").

Ultimately, I split it into two 1:1 examples for the two base recipes that the current example was composed of.

Also fixes some indentation issues which made the recipes format strangely.

@fkiraly fkiraly added the documentation Documentation & tutorials label Feb 4, 2024
@fkiraly fkiraly merged commit f808b2c into main Feb 11, 2024
38 checks passed
@fkiraly fkiraly deleted the more-deprec-recipes branch February 11, 2024 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation & tutorials
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant