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(common): documentation improvements #11376

Merged
merged 2 commits into from
Apr 25, 2023

Conversation

coryan
Copy link
Contributor

@coryan coryan commented Apr 25, 2023

The Status and StatusOr classes are very important and are missing documentation in DocFX. This fleshes out the output a little bit.

The landing page (which I am constantly looking at) had some formatting problems (two warning sections back-to-back) and could use some improvements.


This change is Reviewable

The `Status` and `StatusOr` classes are very important and are missing
documentation in DocFX. This fleshes out the output a little bit.

The landing page (which I am constantly looking at) had some formatting
problems (two `warning` sections back-to-back) and could use some
improvements.
@coryan coryan marked this pull request as ready for review April 25, 2023 15:15
@coryan coryan requested a review from a team as a code owner April 25, 2023 15:15
@codecov
Copy link

codecov bot commented Apr 25, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.01 ⚠️

Comparison is base (fb7f62a) 93.73% compared to head (e590303) 93.73%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11376      +/-   ##
==========================================
- Coverage   93.73%   93.73%   -0.01%     
==========================================
  Files        1797     1797              
  Lines      160588   160588              
==========================================
- Hits       150529   150523       -6     
- Misses      10059    10065       +6     
Impacted Files Coverage Δ
google/cloud/status.h 100.00% <ø> (ø)
google/cloud/status_or.h 100.00% <ø> (ø)

... and 7 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

google/cloud/status.h Outdated Show resolved Hide resolved
google/cloud/status.h Outdated Show resolved Hide resolved
google/cloud/status.h Outdated Show resolved Hide resolved
Comment on lines +136 to +137
/// attempted past the valid range, such as seeking or reading past an
/// end-of-file.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Those examples may not be best. The matching syscalls, for example, don't do that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack. I am trying to follow the documentation from Abseil and gRPC. Getting creative (even if it improves correctness) seems risky.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack.

google/cloud/status.h Outdated Show resolved Hide resolved
google/cloud/status.h Outdated Show resolved Hide resolved
google/cloud/status.h Outdated Show resolved Hide resolved
google/cloud/status.h Outdated Show resolved Hide resolved
google/cloud/status.h Outdated Show resolved Hide resolved
@coryan coryan enabled auto-merge (squash) April 25, 2023 17:44
@coryan coryan merged commit 6ce0da9 into googleapis:main Apr 25, 2023
@coryan coryan deleted the doc-common-flesh-out-documents branch April 25, 2023 19:22
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