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

profile: standardize tutorial style #2218

Merged
merged 2 commits into from May 10, 2019
Merged

Conversation

wchargin
Copy link
Contributor

@wchargin wchargin commented May 9, 2019

Summary:
Per @lamberta via the Google dev docs style guide, we should
use sentence case for titles and headers, and “prefer italics instead
bold for emphasis” because “bold style tends to conflict with the
h3/h4/h5 styles that devsite uses when skimming the page”.

This commit replaces strong emphasis with emphasis, quotations, or code
spans, as appropriate. Strong emphasis is retained for description list
items and a **NOTE**: specifier (changed to **Note:** for
consistency with the same guide).

This commit is easier to review with --word-diff.

Test Plan:
Check that all remaining **-sequences are intended:

$ grep -F '**' docs/r2/tensorboard_profiling_keras.ipynb | cut -c -40
        "*   **CPU**: CPU events are und
        "*   **GPU**: GPU events are und
        "*   **TensorFlow Runtime**: Run
        "**NOTE**: Please don't run mult

wchargin-branch: profile-unembolden

Summary:
Per @lamberta via [the Google dev docs style guide][guide], we should
use sentence case for titles and headers, and “prefer italics instead
bold for emphasis” because “bold style tends to conflict with the
h3/h4/h5 styles that devsite uses when skimming the page”.

This commit replaces strong emphasis with emphasis, quotations, or code
spans, as appropriate. Strong emphasis is retained for description list
items and a `**NOTE**:` specifier (changed to `**Note:**` for
consistency with [the same guide][guide]).

This commit is easier to review with `--word-diff`.

[guide]: https://developers.google.com/style/capitalization

Test Plan:
Check that all remaining `**`-sequences correspond to description lists:

```
$ grep -F '**' docs/r2/tensorboard_profiling_keras.ipynb | cut -c -40
        "*   **CPU**: CPU events are und
        "*   **GPU**: GPU events are und
        "*   **TensorFlow Runtime**: Run
        "**NOTE**: Please don't run mult
```

wchargin-branch: profile-unembolden
@review-notebook-app
Copy link

Check out this pull request on ReviewNB: https://app.reviewnb.com/tensorflow/tensorboard/pull/2218

Visit www.reviewnb.com to know how we simplify your Jupyter Notebook workflows.

Copy link
Contributor

@qqfish qqfish left a comment

Choose a reason for hiding this comment

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

Thank you for making this change!

Copy link
Member

@lamberta lamberta left a comment

Choose a reason for hiding this comment

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

Thanks for this! One small change

wchargin-branch: profile-unembolden
@wchargin wchargin requested a review from stephanwlee May 9, 2019 23:56
@wchargin wchargin merged commit c23b565 into master May 10, 2019
@wchargin wchargin deleted the wchargin-profile-unembolden branch May 10, 2019 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants