Skip to content

Commit 792b26d

Browse files
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: #790
1 parent b926b60 commit 792b26d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/creating-new/test/ci.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ Build matrix
8282
This will lead to you project testing toolchains diverge from default ones in the future.
8383

8484
.. literalinclude:: ../../../.github/workflows/ci/matrix.json
85-
:language: JSON
8685

8786
Each line defines parameters for a job that will run on `GitHub-hosted runner <https://docs.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners>`__:
8887

0 commit comments

Comments
 (0)