Commit 46696f4
authored
Add sphinx-lint to pre-commit and fix errors (#597)
As suggested by @kaeun97 in #596. This catches some (but not all) errors
in the docs that are not picked up by sphinx-build.
The errors this does pick up in the existing docs, that are corrected,
are:
```
docs/source/user/cuda_compilation.rst:132: OMG TABS!!!1 (horizontal-tab)
docs/source/user/cuda_compilation.rst:133: OMG TABS!!!1 (horizontal-tab)
docs/source/user/random.rst:90: found an unbalanced inline literal markup. (unbalanced-inline-literals-delimiters)
docs/source/user/random.rst:27: missing underscore after closing backtick in hyperlink (missing-underscore-after-hyperlink)
```1 parent 911dafd commit 46696f4
3 files changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
133 | | - | |
| 132 | + | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
0 commit comments