ref-manual: variables.rst: refer to BBPATH in the BitBake User Manual
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 33 lines · Michael Opdenacker via lists.yoctoproject.org
From: Michael Opdenacker <[email protected]>
As reported in [YOCTO #14502], the description of BBPATH in the Yocto Project Manual is redundant with its description in the BitBake User Manual.
Signed-off-by Michael Opdenacker <[email protected]>Reported-by Quentin Schulz <[email protected]>---
Without this redirection, the references to BBPATH would still work, as it this the case for terms only definited in the BitBake User Manual, but BBPATH would no longer appear in the variable index.
This would probably be a bad thing.
--- documentation/ref-manual/variables.rst | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-)documentation/ref-manual/variables.rst +0
-5@@ -729,20 +729,7 @@ system and gives an overview of their function and contents. section in the Yocto Project Development Tasks Manual. :term:`BBPATH` - Used by BitBake to locate ``.bbclass`` and configuration files. This - variable is analogous to the ``PATH`` variable. - - .. note:: -
documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 732
Quoted 10 lines
documentation/ref-manual/variables.rst +1
-9- If you run BitBake from a directory outside of the - :term:`Build Directory`, you must be sure to set :term:`BBPATH` - to point to the Build Directory. Set the variable as you would any - environment variable and then run BitBake:: - - $ BBPATH = "build_directory" - $ export BBPATH - $ bitbake target - + See :term:`bitbake:BBPATH` in the BitBake User Manual.
As I mentioned in the description, the main issue here is that we don't know how to include the terms only defined in the BitBake manual in the variable index of the Yocto Project manual.
That's why we have a redirection here.
Another solution could be to highlight this constraint at the beginning of the variable index and point to the BitBake variable index, but I'm sure people will overlook this warning and will get confused anyway.
Cheers
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Hi Michael,
Quoted 51 lines · Michael Opdenacker via lists.yoctoproject.org
Quoted 39 lines · Michael Opdenacker via lists.yoctoproject.org
From: Michael Opdenacker <[email protected]>
As reported in [YOCTO #14502], the description of BBPATH in the Yocto Project Manual is redundant with its description in the BitBake User Manual.
Signed-off-by Michael Opdenacker <[email protected]>Reported-by Quentin Schulz <[email protected]>---
Without this redirection, the references to BBPATH would still work, as it this the case for terms only definited in the BitBake User Manual, but BBPATH would no longer appear in the variable index.
This would probably be a bad thing.
---
documentation/ref-manual/variables.rst| 15 +--------------1 file changed, 1 insertion(+), 14 deletions(-)documentation/ref-manual/variables.rst +0
-0@@ -729,20 +729,7 @@ system and gives an overview of their functionand contents.
section in the Yocto Project Development Tasks Manual. :term:BBPATH
- Used by BitBake to locate ``.bbclass`` and configuration files. This
- variable is analogous to the ``PATH`` variable.documentation/ref-manual/variables.rst +0
-6- - .. note:: - - If you run BitBake from a directory outside of the - :term:`Build Directory`, you must be sure to set :term:`BBPATH` - to point to the Build Directory. Set the variable as youwould any
- environment variable and then run BitBake::documentation/ref-manual/variables.rst
Quoted 6 lines
documentation/ref-manual/variables.rst +1
-5- - $ BBPATH = "build_directory" - $ export BBPATH - $ bitbake target - + See :term:`bitbake:BBPATH` in the BitBake User Manual.As I mentioned in the description, the main issue here is that we don't know how to include the terms only defined in the BitBake manual in the variable index of the Yocto Project manual.
Quoted 4 lines
That's why we have a redirection here.
Another solution could be to highlight this constraint at the beginning of the variable index and point to the BitBake variable index, but I'm sure people will overlook this warning and will get confused anyway.
I would just remove the redirection, we don't have any at the moment.
What I just thought of right now is to add another custom extension which would traverse the intersphinx mapping for bitbake terms and insert them in the glossary the way you're doing it above, but just automated.
I have no idea if that is feasible, but I feel like it'd be a better solution than trying to maintain this kind of redirection.
Cheers,
Quentin
Hi Quentin
Thanks for sharing your opinion.
Quoted 2 lines · Quentin Schulz
I would just remove the redirection, we don't have any at the moment.
OK, I'll submit a V2 then, and will propose a link to the BitBake variable index at the beginning of the Yocto one.
Quoted 4 lines
What I just thought of right now is to add another custom extension which would traverse the intersphinx mapping for bitbake terms and insert them in the glossary the way you're doing it above, but just automated.
I have no idea if that is feasible, but I feel like it'd be a better solution than trying to maintain this kind of redirection.
Sure, that would be great if that existed.
Thanks again
Cheers
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 10 lines · Michael Opdenacker via lists.yoctoproject.org
Hi Quentin
Thanks for sharing your opinion.
Quoted 2 lines · Quentin Schulz
I would just remove the redirection, we don't have any at the moment.
OK, I'll submit a V2 then, and will propose a link to the BitBake variable index at the beginning of the Yocto one.
Oops, not as straightforward as I thought it would be. The combined index (if possible) is a better solution anyway.
Cheers
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com