-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use inline code formatting in docs for variables, functions, and modu…
…les (#591) Reading through the docs today, I found a few places where it looked like italics were being used when inline code formatting would be clearer. I expected that in many of these cases, inline code formatting was actually *intended*, but just mistakenly not applied. When you're mostly writing markdown, it's easy to get in the habit of using a single backtick for inline code formatting... reStructuredText uses 2 backticks. For example, at https://docs.rapids.ai/api/rapids-cmake/stable/packages/rapids_cpm_versions/. <img width="1323" alt="Screenshot 2024-04-22 at 1 08 50 PM" src="https://github.com/rapidsai/rapids-cmake/assets/7608904/f24e3148-41f6-4545-bbb2-e7fc7f317ea6"> This proposes changing them to inline code formatting, to make the names of things like environment variables more obvious visually. ## Notes for Reviewers After noticing a few in the rendered docs, I looked for other possible cases like this. ```shell git grep -E ' \`[^\`]+' *.rst ``` Used my best judgment to decide which seemed like they should be inline code formatting. Authors: - James Lamb (https://github.com/jameslamb) Approvers: - Robert Maynard (https://github.com/robertmaynard) URL: #591
- Loading branch information
Showing
5 changed files
with
40 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters