mirror of
https://git.yoctoproject.org/poky
synced 2026-07-15 15:37:03 +00:00
conf.py: define new *_path roles
Defines three new bitbake_path, meta_yocto_path, and oecore_path roles that can be used to quickly reference a file or directory in one of those repositories and link to our web interface for the path, e.g. :oecore_path:`meta/conf/bitbake.conf`. (From yocto-docs rev: cc2bb929002ed29fdb2601cf02f47de315656d27) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> (cherry picked from commit 89cf4b98686f6f353811d444f36848410ffd2929) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Paul Barker <paul@pbarker.dev>
This commit is contained in:
committed by
Paul Barker
parent
6218924ef8
commit
9cc678e08e
@@ -99,6 +99,7 @@ meta_yocto_git = f"{yocto_git_server}/meta-yocto"
|
||||
# external links and substitutions
|
||||
extlinks = {
|
||||
'bitbake_git': (f'{bitbake_git}%s', None),
|
||||
'bitbake_path': (f'{bitbake_git}/tree/%s', '%s'),
|
||||
'bitbake_rev': (f'{bitbake_git}/commit/?id=%s', '%.7s'),
|
||||
'cve_mitre': ('https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-%s', 'CVE-%s'),
|
||||
'cve_nist': ('https://nvd.nist.gov/vuln/detail/CVE-%s', 'CVE-%s'),
|
||||
@@ -110,11 +111,13 @@ extlinks = {
|
||||
'yocto_ab': ('https://autobuilder.yoctoproject.org%s', None),
|
||||
'yocto_docs': ('https://docs.yoctoproject.org%s', None),
|
||||
'yocto_git': (f'{yocto_git_server}%s', None),
|
||||
'meta_yocto_path': (f'{meta_yocto_git}/tree/%s', '%s'),
|
||||
'meta_yocto_rev': (f'{meta_yocto_git}/commit/?id=%s', '%.7s'),
|
||||
'yocto_sstate': ('http://sstate.yoctoproject.org%s', None),
|
||||
'oe_home': ('https://www.openembedded.org%s', None),
|
||||
'oe_lists': ('https://lists.openembedded.org%s', None),
|
||||
'oe_git': (f'{oe_git_server}%s', None),
|
||||
'oecore_path': (f'{oecore_git}/tree/%s', '%s'),
|
||||
'oecore_rev': (f'{oecore_git}/commit/?id=%s', '%.7s'),
|
||||
'oe_wiki': ('https://www.openembedded.org/wiki%s', None),
|
||||
'oe_layerindex': ('https://layers.openembedded.org%s', None),
|
||||
|
||||
Reference in New Issue
Block a user