Skip to contentSkip to conversation

ref-manual: add documentation of the variable SPDX_NAMESPACE_PREFIX

PATCH Applied [email protected] 2 participants 2 messages Mar 18, 2024 – Mar 19, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ref-manual: 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.

---
 documentation/ref-manual/variables.rst | 5 +++++
 1 file changed, 5 insertions(+)
documentation/ref-manual/variables.rst +5 -0
index 6e66dc735..3f7c8e2c7 100644
@@ -7911,6 +7911,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: 
+      ``http://spdx.org/spdxdoc`` .
+
    :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
Reviewed-by on v1 1/1 Applied
#1 lore raw

Hi Mohamed

Quoted 15 lines · On 3/18/24 at 20:16, [email protected] wrote:

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.

---
  documentation/ref-manual/variables.rst | 5 +++++
  1 file changed, 5 insertions(+)
documentation/ref-manual/variables.rst +0 -0
index 6e66dc735..3f7c8e2c7 100644

documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 7917

Quoted 7 lines
documentation/ref-manual/variables.rst +4 -0
@@ -7911,6 +7911,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:
+      ``http://spdx.org/spdxdoc`` .

Many thanks for adding this to the documentation!

Merged into master-next.
Cheers
Michael.

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