Skip to contentSkip to conversation

doc: uefi: fix links

PATCH In review Vincent Stehlé 2 participants 2 messages Feb 20, 2023 – Feb 22, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: uefi: fix links

Fix a couple of links so that they are rendered correctly with sphinx.

Cc Heinrich Schuchardt <[email protected]>
Cc Ilias Apalodimas <[email protected]>
---
 doc/develop/uefi/fwu_updates.rst | 3 ++-
 doc/develop/uefi/uefi.rst        | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)
doc/develop/uefi/fwu_updates.rst +2 -1
index 72c850a7908..e4709d82b41 100644
@@ -27,7 +27,8 @@ metadata. Individual drivers can be added based on the type of storage
 media, and its partitioning method. Details of the storage device
 containing the FWU metadata partitions are specified through a U-Boot
 specific device tree property `fwu-mdata-store`. Please refer to
-U-Boot `doc <doc/device-tree-bindings/firmware/fwu-mdata-gpt.yaml>`__
+U-Boot :download:`fwu-mdata-gpt.yaml
+</device-tree-bindings/firmware/fwu-mdata-gpt.yaml>`
 for the device tree bindings.
 
 Enabling the FWU Multi Bank Update feature
doc/develop/uefi/uefi.rst +2 -2
index a944c0fb803..ffe25ca2318 100644
@@ -386,8 +386,8 @@ is because the FWU feature supports multiple partitions(banks) of
 updatable images, and the actual dfu alt number to which the image is
 to be written to is determined at runtime, based on the value of the
 update bank to which the image is to be written. For more information
-on the FWU Multi Bank Update feature, please refer `doc
-<doc/develop/uefi/fwu_updates.rst>`__.
+on the FWU Multi Bank Update feature, please refer to
+:doc:`/develop/uefi/fwu_updates`.
 
 When using the FMP for FIT images, the image index value needs to be
 set to 1.
Signature · 1 line
2.39.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Vincent Stehlé

Fix a couple of links so that they are rendered correctly with sphinx.

Cc Heinrich Schuchardt <[email protected]>
Cc Ilias Apalodimas <[email protected]>
Quoted 34 lines
---
  doc/develop/uefi/fwu_updates.rst | 3 ++-
  doc/develop/uefi/uefi.rst        | 4 ++--
  2 files changed, 4 insertions(+), 3 deletions(-)
doc/develop/uefi/fwu_updates.rst +2 -1
index 72c850a7908..e4709d82b41 100644
@@ -27,7 +27,8 @@ metadata. Individual drivers can be added based on the type of storage
  media, and its partitioning method. Details of the storage device
  containing the FWU metadata partitions are specified through a U-Boot
  specific device tree property `fwu-mdata-store`. Please refer to
-U-Boot `doc <doc/device-tree-bindings/firmware/fwu-mdata-gpt.yaml>`__
+U-Boot :download:`fwu-mdata-gpt.yaml
+</device-tree-bindings/firmware/fwu-mdata-gpt.yaml>`
  for the device tree bindings.
 
  Enabling the FWU Multi Bank Update feature
doc/develop/uefi/uefi.rst +2 -2
index a944c0fb803..ffe25ca2318 100644
@@ -386,8 +386,8 @@ is because the FWU feature supports multiple partitions(banks) of
  updatable images, and the actual dfu alt number to which the image is
  to be written to is determined at runtime, based on the value of the
  update bank to which the image is to be written. For more information
-on the FWU Multi Bank Update feature, please refer `doc
-<doc/develop/uefi/fwu_updates.rst>`__.
+on the FWU Multi Bank Update feature, please refer to
+:doc:`/develop/uefi/fwu_updates`.
 
  When using the FMP for FIT images, the image index value needs to be
  set to 1.