diff options
author | Erik Faye-Lund <[email protected]> | 2020-06-30 12:06:03 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-07-01 07:29:21 +0000 |
commit | 47d3b80428cd251b48735cde91df2f217ea65235 (patch) | |
tree | faca5ea5ba768177b96ea693089202c089d9a33d /src/gallium | |
parent | 686f6c72068767c7343943790510aa82562795d8 (diff) |
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 <[email protected]>
Acked-by: Eric Engestrom <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5691>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/docs/source/conf.py | 2 | ||||
-rw-r--r-- | src/gallium/docs/source/drivers/freedreno/ir3-notes.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/docs/source/conf.py b/src/gallium/docs/source/conf.py index c6039fbe8d1..972dcce6eb3 100644 --- a/src/gallium/docs/source/conf.py +++ b/src/gallium/docs/source/conf.py @@ -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 = [] diff --git a/src/gallium/docs/source/drivers/freedreno/ir3-notes.rst b/src/gallium/docs/source/drivers/freedreno/ir3-notes.rst index 182508f0cca..2111c6fdde2 100644 --- a/src/gallium/docs/source/drivers/freedreno/ir3-notes.rst +++ b/src/gallium/docs/source/drivers/freedreno/ir3-notes.rst @@ -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); |