docs: ref-manual: ref-variables: fix one-letter pointer links in glossary

Since the move to sphinx, variables aren't linked with var- anchors but
term-.

Let's fix that so clicking on a letter will bring to the correct variable
in the page.

(From yocto-docs rev: 731d8b62ba588200d7d57cee0fd56256f32bd9a2)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 07718faa04a8b121be004afbc23b4c338f669413)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Quentin Schulz
2020-10-03 10:23:34 +02:00
committed by Richard Purdie
parent 234055a332
commit 38274e2465

View File

@@ -7,14 +7,14 @@ Variables Glossary
This chapter lists common variables used in the OpenEmbedded build This chapter lists common variables used in the OpenEmbedded build
system and gives an overview of their function and contents. system and gives an overview of their function and contents.
`A <#var-ABIEXTENSION>`__ :term:`B` `C <#var-CACHE>`__ :term:`A <ABIEXTENSION>` :term:`B` :term:`C <CACHE>`
:term:`D` `E <#var-EFI_PROVIDER>`__ `F <#var-FEATURE_PACKAGES>`__ :term:`D` :term:`E <EFI_PROVIDER>` :term:`F <FEATURE_PACKAGES>`
`G <#var-GCCPIE>`__ `H <#var-HOMEPAGE>`__ `I <#var-ICECC_DISABLED>`__ :term:`G <GCCPIE>` :term:`H <HOMEPAGE>` :term:`I <ICECC_DISABLED>`
`K <#var-KARCH>`__ `L <#var-LABELS>`__ `M <#var-MACHINE>`__ :term:`K <KARCH>` :term:`L <LABELS>` :term:`M <MACHINE>`
`N <#var-NATIVELSBSTRING>`__ `O <#var-OBJCOPY>`__ :term:`P` :term:`N <NATIVELSBSTRING>` :term:`O <OBJCOPY>` :term:`P`
`R <#var-RANLIB>`__ :term:`S` :term:`T` :term:`R <RANLIB>` :term:`S` :term:`T`
`U <#var-UBOOT_CONFIG>`__ `V <#var-VOLATILE_LOG_DIR>`__ :term:`U <UBOOT_CONFIG>` :term:`V <VOLATILE_LOG_DIR>`
`W <#var-WARN_QA>`__ `X <#var-XSERVER>`__ :term:`W <WARN_QA>` :term:`X <XSERVER>`
.. glossary:: .. glossary::