doc: bitbake-user-manual: conf.py: add more extlinks
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
@@ -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
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
Hi Quentin
Thanks for the review.
Quoted 4 lines · Quentin Schulz
Hi Michael,
Could we have the new entries alphabetically sorted? i.e.
oe_gitfirst in the list of oe extlinks andoe_wikilast?
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