From 28a7aa73dbb42f94c8cc07a89c89c8a64aacc4f8 Mon Sep 17 00:00:00 2001 From: Nicolas Dechesne Date: Tue, 8 Sep 2020 16:58:17 +0200 Subject: bitbake: sphinx: conf: enable extlinks extension (Bitbake rev: 3e940d93c7513413a93a910122b1dd82870044b1) Signed-off-by: Nicolas Dechesne Signed-off-by: Richard Purdie --- bitbake/doc/conf.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bitbake/doc/conf.py') diff --git a/bitbake/doc/conf.py b/bitbake/doc/conf.py index 722c79230b..197f2757aa 100644 --- a/bitbake/doc/conf.py +++ b/bitbake/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 v1.2.3-54-g00ecf