From 4bc1d3e79c35bef81f2edb6ce310fcbd233b8b21 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Wed, 2 Nov 2022 20:14:53 +0100 Subject: [PATCH] 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 Part-of: --- docs/conf.py | 1 + 1 file changed, 1 insertion(+) 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 ----------------------------------------------