From 3e940d93c7513413a93a910122b1dd82870044b1 Mon Sep 17 00:00:00 2001 From: Nicolas Dechesne Date: Tue, 8 Sep 2020 16:58:17 +0200 Subject: sphinx: conf: enable extlinks extension Signed-off-by: Nicolas Dechesne --- doc/conf.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/conf.py b/doc/conf.py index 722c79230..197f2757a 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -32,6 +32,11 @@ copyright = '2004-%s, Richard Purdie, Chris Larson, and Phil Blundell' \ % datetime.datetime.now().year author = 'Richard Purdie, Chris Larson, and Phil Blundell' +# external links and substitutions +extlinks = { + 'yocto_docs': ('https://docs.yoctoproject.org%s', None), + 'oe_lists': ('https://lists.openembedded.org%s', None), +} # -- General configuration --------------------------------------------------- @@ -40,6 +45,7 @@ author = 'Richard Purdie, Chris Larson, and Phil Blundell' # ones. extensions = [ 'sphinx.ext.autosectionlabel', + 'sphinx.ext.extlinks', ] autosectionlabel_prefix_document = True -- cgit 1.2.3-korg