documentation: add documentation of the variable SPDX_NAMESPACE_PREFIX
PATCH 2/2 documentation: add documentation of the variable SPDX_NAMESPACE_PREFIX
From: BELOUARGA Mohamed <[email protected]>
The documentation of the variable SPDX_NAMESPACE_PREFIX does not exist. This variable is used to change the prefix of some links in SPDX docs.
[ YOCTO #15398 ]
--- documentation/ref-manual/variables.rst | 5 +++++ 1 file changed, 5 insertions(+)
documentation/ref-manual/variables.rst +5 -0
@@ -7913,6 +7913,11 @@ system and gives an overview of their function and contents. image), compared to just using the :ref:`ref-classes-create-spdx` class with no option. + :term:`SPDX_NAMESPACE_PREFIX` + This option could be used in order to change the prefix of ``spdxDocument`` + and the prefix of ``documentNamespace``. It is set by default to: + ``https://spdx.org/spdxdocs`` . + :term:`SPDX_PRETTY` This option makes the SPDX output more human-readable, using identation and newlines, instead of the default output in a
Signature · 1 line
2.25.1
Hi Mohamed,
Quoted 17 lines · On 2/14/24 at 22:52, [email protected] wrote:
From: BELOUARGA Mohamed <[email protected]>
The documentation of the variable
SPDX_NAMESPACE_PREFIXdoes not exist. This variable is used to change the prefix of some links in SPDX docs.[ YOCTO #15398 ]
Signed-off-by BELOUARGA Mohamed <[email protected]>--- documentation/ref-manual/variables.rst | 5 +++++ 1 file changed, 5 insertions(+)documentation/ref-manual/variables.rst +0
-0
documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 7920
Quoted 8 lines
documentation/ref-manual/variables.rst +5
-0@@ -7913,6 +7913,11 @@ system and gives an overview of their function and contents. image), compared to just using the :ref:`ref-classes-create-spdx` class with no option. + :term:`SPDX_NAMESPACE_PREFIX` + This option could be used in order to change the prefix of ``spdxDocument`` + and the prefix of ``documentNamespace``. It is set by default to: + ``https://spdx.org/spdxdocs`` . +
This looks good to me, thanks!
However, I have to wait for your first patch to be merged to merge this one, otherwise the default value is incorrect. Don't hesitate to ping me if necessary.
As a separate patch, you may also mention this variable in the description of the "create-spdx" class (ref-manual/classes.rst). Otherwise, people may overlook this variable, if it's not referred to from any other place.
Thanks again
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Hi Mohamed,
Quoted 35 lines · Michael Opdenacker
Hi Mohamed,
Quoted 18 lines · On 2/14/24 at 22:52, [email protected] wrote:
From: BELOUARGA Mohamed <[email protected]>
The documentation of the variable
SPDX_NAMESPACE_PREFIXdoes not exist. This variable is used to change the prefix of some links in SPDX docs.[ YOCTO #15398 ]
Signed-off-by BELOUARGA Mohamed <[email protected]>---
documentation/ref-manual/variables.rst| 5 +++++1 file changed, 5 insertions(+)documentation/ref-manual/variables.rst +0
-0@@ -7913,6 +7913,11 @@ system and gives an overview of their functionand contents.
Quoted 8 lines
image), compared to just using the :ref:
ref-classes-create-spdxclass with no option.
+ :term:SPDX_NAMESPACE_PREFIX
+ This option could be used in order to change the prefix of ``spdxDocument``
+ and the prefix of ``documentNamespace``. It is set by default to:
+ ``https://spdx.org/spdxdocs`` .
+This looks good to me, thanks!
However, I have to wait for your first patch to be merged to merge this one, otherwise the default value is incorrect. Don't hesitate to ping me if necessary.
Quoted 1 line
As a separate patch, you may also mention this variable in the description of the "create-spdx" class (
ref-manual/classes.rst). Otherwise, people may overlook this variable, if it's not referred to from any other place.
Any news about the first patch? Don't hesitate to get back to me when it is merged.
Another possibility, if the first patch doesn't make it, is to add the change without mentioning the default value. I'll be glad to do it in case you don't have time at the moment.
Cheers
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com