gallium/docs: use none for highlight_language

We have much more blocks that are of no particular language (mostly
custom ASM variants), so let's instead opt in if we want
syntax-highlighting.

Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Acked-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5691>
This commit is contained in:
Erik Faye-Lund 2020-06-30 12:06:03 +02:00 committed by Marge Bot
parent 686f6c7206
commit 47d3b80428
2 changed files with 2 additions and 2 deletions

View file

@ -84,7 +84,7 @@ exclude_trees = []
pygments_style = 'sphinx'
# The language for highlighting source code.
highlight_language = 'c'
highlight_language = 'none'
# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []

View file

@ -133,7 +133,7 @@ In addition there are various util macros/functions to simplify manipulation/tra
For example:
::
.. code-block:: c
foreach_ssa_src_n(src, i, instr) {
unsigned d = delay_calc_srcn(ctx, src, instr, i);