aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/docs/source
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/docs/source')
-rw-r--r--src/gallium/docs/source/conf.py2
-rw-r--r--src/gallium/docs/source/drivers/freedreno/ir3-notes.rst2
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);