-
Notifications
You must be signed in to change notification settings - Fork 441
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
Improved internal and external documentation #419
Conversation
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.
Comment by change:
- Renamed RustProtoProvider -> RustProtoInfo: I don't see the use of this change, Provider is a more common name and I find it more explicit
- Partially addressed legacy provider syntax issue: LGTM
- Renamed AliasableDep -> AliasableDepInfo: Can we rename as
AliasedDepProvider
instead? - Renamed relative_path -> relativize: Some nit inlined
- Moved get_lib_name to //rust:private/utils.bzl: This change is adding an unused function, drop?
- Updated copyright: Please do not do this, we should not update existing Copyright lines.
- _Moved determine_output_hash so it can be used in other places: LGTM
- Updating documentation: this change is too big, please extract to a separate PR.
- Added more pages to the outward facing docs: Some nit inlined
- Regenerate documentation: LGTM
Buildifier claims this violates naming conventions: https://github.com/bazelbuild/buildtools/blob/master/WARNINGS.md#name-conventions |
Again, this violates https://github.com/bazelbuild/buildtools/blob/master/WARNINGS.md#name-conventions |
If it was unused, I would have removed it. It's used in |
Meh :/ This is a bad convention, anyway that's the convention so this change LGTM.
This change only add the function without any call site. Unless the code was broken before this method is not used anywhere. You probably forgot to update the load statements and remove the original place of the code. |
Ah I see, I've updated this now. I didn't completely break out this change from the larger one. This has been updated |
Dropped but can you update it then? |
Moving to another PR. edit: See #420 |
We should not touch to the copyright line. The date should be the date of creation of the file as per guidance from the opensource office at google. |
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.
Just one nit left.
Changes:
doc
attributes so stardoc renders cleanerdocs/update_docs.sh
output@acmcarther @mfarrugi @damienmg @smklein @dfreese
I would hugely appreciate if all code owners would take a look at
548d62fand provide suggestions on how the documentations can be improved. I'm very bad at writing docs and this was largely a learning exercise for me so some of the docs may not be as clear as they should be. There are a few I was totally unsure of what to write (namelyget_compilation_mode_opts
,_determine_lib_name
,rust_toolchain
, andRustProtoInfo
).Again, It'd help out tremendously to have these docs updated. Looking forward to suggestions 😄
edit: The commit of the big request for suggestions has been moved to #420