summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorErik Faye-Lund <erik.faye-lund@collabora.com>2022-11-02 20:14:53 +0100
committerMarge Bot <emma+marge@anholt.net>2022-11-09 12:09:17 +0000
commit4bc1d3e79c35bef81f2edb6ce310fcbd233b8b21 (patch)
tree2454f9eef11a9190d1c4c47abc15e757a378466e /docs/conf.py
parent35d0d30a0e48d88a258a148f2ffb1c83552472a2 (diff)
downloadmesa-4bc1d3e79c35bef81f2edb6ce310fcbd233b8b21.tar.gz
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>
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 03de76dd096..6e588ebbf9c 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -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 ----------------------------------------------