Commit 792b26d
authored
docs: fix warning about matrix.json not valid for code highlighting (#793)
Fixing the following warning:
```sh
Warning, treated as error:
hunter/docs/creating-new/test/ci.rst:84:Could not lex literal_block as "JSON". Highlighting skipped.
```
The referenced codeblock is the following:
```rst
.. literalinclude:: ../../../.github/workflows/ci/matrix.json
:language: JSON
```
The `matrix.json` file contains `//` comments, which are not valid json tripping the highlighting.
Removing the `:language: JSON` part fixes this warning
Fixes: #7901 parent b926b60 commit 792b26d
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
| |||
0 commit comments