docs: ref-manual: variables: add missing links to terms glossary
PATCH 1/1 docs: ref-manual: variables: add missing links to terms glossary
The automated script used back then didn't take into account that terms could be lowercase which is the case for module_autoload and module_conf, so let's add a link to those too.
--- documentation/ref-manual/variables.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
documentation/ref-manual/variables.rst +2 -2
@@ -4629,7 +4629,7 @@ system and gives an overview of their function and contents. do_foo[depends] += "${MLPREFIX}recipe:do_foo" - module_autoload + :term:`module_autoload` This variable has been replaced by the ``KERNEL_MODULE_AUTOLOAD`` variable. You should replace all occurrences of ``module_autoload`` with additions to ``KERNEL_MODULE_AUTOLOAD``, for example::
@@ -4642,7 +4642,7 @@ system and gives an overview of their function and contents. See the :term:`KERNEL_MODULE_AUTOLOAD` variable for more information. - module_conf + :term:`module_conf` Specifies `modprobe.d <https://linux.die.net/man/5/modprobe.d>`_ syntax lines for inclusion in the ``/etc/modprobe.d/modname.conf`` file.
Signature · 1 line
2.20.1
Hi Quentin,
Quoted 25 lines · Quentin Schulz
The automated script used back then didn't take into account that terms could be lowercase which is the case for
module_autoloadandmodule_conf, so let's add a link to those too.Fixes 9e468274eaad "docs: ref-manual: ref-variables: add links to terms in glossary"Signed-off-by Quentin Schulz <[email protected]>--- documentation/ref-manual/variables.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)documentation/ref-manual/variables.rst +1
-1@@ -4629,7 +4629,7 @@ system and gives an overview of their function and contents. do_foo[depends] += "${MLPREFIX}recipe:do_foo" - module_autoload + :term:`module_autoload` This variable has been replaced by the ``KERNEL_MODULE_AUTOLOAD`` variable. You should replace all occurrences of ``module_autoload`` with additions to ``KERNEL_MODULE_AUTOLOAD``, for example::
documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 4648
Quoted 8 lines
documentation/ref-manual/variables.rst +1
-1@@ -4642,7 +4642,7 @@ system and gives an overview of their function and contents. See the :term:`KERNEL_MODULE_AUTOLOAD` variable for more information. - module_conf + :term:`module_conf` Specifies `modprobe.d <https://linux.die.net/man/5/modprobe.d>`_ syntax lines for inclusion in the ``/etc/modprobe.d/modname.conf`` file.
Good catch, many thanks for the patch!
I merged it into "master-next".
By the way, there are other terms in the glossary that don't correspond to variables, such as "Toaster", which has a few index references in the manuals, or "Task" or "Layer", which have no index link at all.
While the entry in the manual is definitely useful, do you think we should add more index references to such terms?
Thanks again,
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com