File: spellcheck.md

package info (click to toggle)
rocm-docs-core 1.23.0-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,632 kB
  • sloc: python: 1,960; sh: 160; javascript: 152; cpp: 29; makefile: 27
file content (48 lines) | stat: -rw-r--r-- 1,402 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
myst:
    html_meta:
        "description": "Rocm docs core has spell checks run on every pull request"
        "keywords": "Spell check in ROCm documentation, Spell check in ROCm docs core, ROCm docs core user guide"
---

# Spell Check

`rocm-docs-core` has spell checks run on every pull request (PR) via GitHub Actions.

If a PR fails spell check, the errors must be addressed before it can be merged.

The results of a spell check is viewable in the "Checks" tab for a PR.

## Types of Errors

### Spelling Mistake

View the "Details" for a spell check and fix the misspelled words.

### New words or Acronyms

Spell check may flag errors if it does not recognize a word.

The reason could be that the word is not familiar to the dictionary used
or an unfamiliar acronym.

To get spell check to recognize this word, add it to the `.wordlist.txt` file,
located at the root of the project (for this project, `rocm-docs-core`,
that would be the `rocm-docs-core` folder).

### Special keywords

If the word is not meant to be a dictionary word, but is still valid
technical terminology, wrap the word with the backtick (`) key.

#### Keyword examples

- File or folder names
- Commands or arguments
- Code blocks
- Names of executables or binaries

## More Information

For more information, see the GitHub Action
[spellcheck-github-actions](https://github.com/rojopolis/spellcheck-github-actions)