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

docs(spanner): some documentation tweaks #11641

Merged
merged 2 commits into from
May 17, 2023

Conversation

coryan
Copy link
Contributor

@coryan coryan commented May 17, 2023

Fixed some typos in the landing page: THis vs. This and C++11 when we only support C++14. With DocFX we don't have deep linking to sections of pages working, the page is small, so just link the page for now.


This change is Reviewable

Fixed some typos in the landing page: `THis` vs. `This` and `C++11` when
we only support C++14.  With DocFX we don't have deep linking to
sections of pages working, the page is small, so just link the page for
now.
@product-auto-label product-auto-label bot added the api: spanner Issues related to the Spanner API. label May 17, 2023
@codecov
Copy link

codecov bot commented May 17, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (22561af) 93.77% compared to head (0b169ca) 93.77%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #11641   +/-   ##
=======================================
  Coverage   93.77%   93.77%           
=======================================
  Files        1824     1824           
  Lines      164431   164431           
=======================================
+ Hits       154191   154202   +11     
+ Misses      10240    10229   -11     

see 9 files with indirect coverage changes

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

@coryan coryan marked this pull request as ready for review May 17, 2023 20:22
@coryan coryan requested a review from a team as a code owner May 17, 2023 20:22
@@ -25,9 +25,9 @@ into your project.
- [Client::Read()](@ref google::cloud::spanner::Client::Read()) - to read the
Copy link
Contributor

Choose a reason for hiding this comment

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

s/ -// to match the form of the previous two entries.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

@@ -25,9 +25,9 @@ into your project.
- [Client::Read()](@ref google::cloud::spanner::Client::Read()) - to read the
rows in a table.
- @ref spanner-error-handling to learn how the library reports run-time errors.
- @ref spanner-env-logging enable logging. THis can be an effective approach to
diagnose many problems.
- @ref spanner-env for environment variables affecting the library.
Copy link
Contributor

Choose a reason for hiding this comment

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

This link leads to a page where a :cloud: becomes an image.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should be fixed in #11642

- @ref spanner-env for environment variables affecting the library.
- @ref spanner-env includes environment variables to enable logging. This can be
Copy link
Contributor

Choose a reason for hiding this comment

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

s/spanner-env/spanner-env-logging/? Although that seemed to lead nowhere.

Perhaps it is just that the two spanner-env entries should be combined?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

spanner-env-logging is not working with the DocFX-based docs, but works with Doxygen. Merged the two entries.

- @ref spanner-env for environment variables affecting the library.
- @ref spanner-env includes environment variables to enable logging. This can be
an effective approach to diagnose many problems.
- @ref spanner-endpoint-example
- @ref spanner-auth-example
Copy link
Contributor

Choose a reason for hiding this comment

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

This leads to a page where two links are not separated by any space.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed. I used the same structure as the generated documents, if you want we can make it nicer as this is a hand-crafted library.

@coryan coryan merged commit 69da423 into googleapis:main May 17, 2023
@coryan coryan deleted the docs-spanner-tweaks branch May 17, 2023 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the Spanner API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants