Skip to contentSkip to conversation

doc: bitbake-user-manual: conf.py: add more extlinks

PATCH In review Michael Opdenacker 2 participants 3 messages Dec 16, 2021 – Jan 4, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: bitbake-user-manual: conf.py: add more extlinks

Useful in particular to refer to files in git repositories

---
 doc/conf.py | 6 ++++++
 1 file changed, 6 insertions(+)
doc/conf.py +6 -0
index fc2ee081..b2369e82 100644
@@ -36,7 +36,13 @@ author = 'Richard Purdie, Chris Larson, and Phil Blundell'
 # external links and substitutions
 extlinks = {
     'yocto_docs': ('https://docs.yoctoproject.org%s', None),
+    'yocto_git': ('https://git.yoctoproject.org/cgit/cgit.cgi%s', None),
+    'oe_home': ('https://www.openembedded.org%s', None),
     'oe_lists': ('https://lists.openembedded.org%s', None),
+    'oe_git': ('https://git.openembedded.org%s', None),
+    'oe_wiki': ('https://www.openembedded.org/wiki%s', None),
+    'oe_layerindex': ('https://layers.openembedded.org%s', None),
+    'oe_layer': ('https://layers.openembedded.org/layerindex/branch/master/layer%s', None),
 }
 
 # -- General configuration ---------------------------------------------------
Signature · 1 line
2.25.1
#1 lore raw

Hi Michael,

Could we have the new entries alphabetically sorted? i.e. oe_git first in the list of oe extlinks and oe_wiki last?

Also, is there any plan of using those new extlinks? I only see one patch in this thread, hence the question.

Cheers,
Quentin

#2 lore raw

Hi Quentin

Thanks for the review.

Quoted 4 lines · Quentin Schulz

Hi Michael,

Could we have the new entries alphabetically sorted? i.e. oe_git first in the list of oe extlinks and oe_wiki last?

Sure, this makes sense.

Quoted 3 lines

Also, is there any plan of using those new extlinks? I only see one patch in this thread, hence the question.

Well, my first need was to use the "oe_git" macro to provide links to source code, for example for bitbake-hashserv.
Thinking this over, I realize it probably makes sense to just add the macros when I actually need them.
I'll just to that.
Cheers
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com