-
Notifications
You must be signed in to change notification settings - Fork 213
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
reduce duplication of docs #1676
Conversation
…xing` and `placement` argument documentation
…. Inherit the rest from the `fmt_*()` functions
I'd recommend looking at the resulting diff in Rd for review + logic of inheritance. We may be better off inheriting from a less chunky function for performance... |
The changes I pushed here remove some explanation specific to certain functions only. The one for the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Here is a script I used to detect duplication. It is not polished at all, but thought I'd share
Let me know if you'd rather have some of this the other way around. I tried going in the same direction as what is called.
like vec_fmt is calling fmt, so vec_fmt docs inheriting fmt doc.
i.e. have the
fmt_*
inheriting thevec_fmt_*()
instead.Got tired of doing this, I may do another round of similar edits in the future.
Here is the script I created to help identify potential duplication.