docs: make c:expr the default-role

Mesa is a C-project, so c:expr is a really handy role to default to.
This means that `foo` is a short-hand for :c:expr:`foo`.

Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19575>
This commit is contained in:
Erik Faye-Lund
2022-11-02 20:14:53 +01:00
committed by Marge Bot
parent 35d0d30a0e
commit 4bc1d3e79c

View File

@@ -91,6 +91,7 @@ todo_include_todos = False
# python keywords highlit in literal blocks.
highlight_language = 'none'
default_role = 'c:expr'
# -- Options for HTML output ----------------------------------------------