Skip to contentSkip to conversation

doc: remove web references to internal guides

PATCH In review Thomas Monjalon 3 participants 4 messages Oct 7, 2021 – Oct 13, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: remove web references to internal guides

The guides should be referenced locally with RST syntax :doc: (beginning of page) or :ref: (specific chapter). The links to doc.dpdk.org/guides/ are removed.

The links to the doc.dpdk.org/api/ are acceptable, but should not point to a specific version, so one is fixed.

---
 doc/guides/nics/bnxt.rst                | 2 +-
 doc/guides/nics/i40e.rst                | 3 ++-
 doc/guides/nics/ice.rst                 | 3 ++-
 doc/guides/prog_guide/telemetry_lib.rst | 2 +-
 4 files changed, 6 insertions(+), 4 deletions(-)
doc/guides/nics/bnxt.rst +1 -1
index e75f4fa9e3..f2f5eff48d 100644
@@ -77,7 +77,7 @@ It can direct some traffic, for example data plane traffic, to DPDK.
 Rest of the traffic, for example control plane traffic, would be redirected to
 the traditional Linux networking stack.
 
-Refer to https://doc.dpdk.org/guides/howto/flow_bifurcation.html
+Refer to :doc:`../howto/flow_bifurcation`
 
 Benefits of the flow bifurcation include:
 
doc/guides/nics/i40e.rst +2 -1
index 07841dca24..ef91b3a1ac 100644
@@ -78,7 +78,8 @@ Linux Prerequisites
 Windows Prerequisites
 ---------------------
 
-- Follow the DPDK `Getting Started Guide for Windows <https://doc.dpdk.org/guides/windows_gsg/index.html>`_ to setup the basic DPDK environment.
+- Follow the :doc:`guide for Windows <../windows_gsg/run_apps>`
+  to setup the basic DPDK environment.
 
 - Identify the Intel® Ethernet adapter and get the latest NVM/FW version.
 
doc/guides/nics/ice.rst +2 -1
index 8d43488353..f95fef8cf0 100644
@@ -28,7 +28,8 @@ Linux Prerequisites
 Windows Prerequisites
 ---------------------
 
-- Follow the DPDK `Getting Started Guide for Windows <https://doc.dpdk.org/guides/windows_gsg/index.html>`_ to setup the basic DPDK environment.
+- Follow the :doc:`guide for Windows <../windows_gsg/run_apps>`
+  to setup the basic DPDK environment.
 
 - Identify the Intel® Ethernet adapter and get the latest NVM/FW version.
 
doc/guides/prog_guide/telemetry_lib.rst +1 -1
index 6ea16e9491..32f525a67f 100644
@@ -140,7 +140,7 @@ Giving the following response to the client::
     {"/example_lib/string_example": "This is an example string"}
 
 For more information on the range of data functions available in the API,
-please refer to the `API doc <https://doc.dpdk.org/api-20.05/rte__telemetry_8h.html>`_
+please refer to the `API doc <https://doc.dpdk.org/api/rte__telemetry_8h.html>`_
 
 
 Registering Commands
Signature · 1 line
2.33.0
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Thomas Monjalon

The guides should be referenced locally with RST syntax :doc: (beginning of page) or :ref: (specific chapter). The links to doc.dpdk.org/guides/ are removed.

The links to the doc.dpdk.org/api/ are acceptable, but should not point to a specific version, so one is fixed.

Quoted 74 lines
---
 doc/guides/nics/bnxt.rst                | 2 +-
 doc/guides/nics/i40e.rst                | 3 ++-
 doc/guides/nics/ice.rst                 | 3 ++-
 doc/guides/prog_guide/telemetry_lib.rst | 2 +-
 4 files changed, 6 insertions(+), 4 deletions(-)
doc/guides/nics/bnxt.rst +0 -0
index e75f4fa9e3..f2f5eff48d 100644
@@ -77,7 +77,7 @@ It can direct some traffic, for example data plane

traffic, to DPDK.
Rest of the traffic, for example control plane traffic, would be
redirected to
the traditional Linux networking stack.

doc/guides/nics/bnxt.rst +1 -1
-Refer to https://doc.dpdk.org/guides/howto/flow_bifurcation.html
+Refer to :doc:`../howto/flow_bifurcation`
 
 Benefits of the flow bifurcation include:
doc/guides/nics/i40e.rst +0 -1
index 07841dca24..ef91b3a1ac 100644
@@ -78,7 +78,8 @@ Linux Prerequisites
 Windows Prerequisites
 ---------------------
 
-- Follow the DPDK `Getting Started Guide for Windows <

https://doc.dpdk.org/guides/windows_gsg/index.html>`_ to setup the basic DPDK environment.
+- Follow the :doc:guide for Windows <../windows_gsg/run_apps>

doc/guides/nics/i40e.rst +1 -0
+  to setup the basic DPDK environment.
 
 - Identify the Intel® Ethernet adapter and get the latest NVM/FW version.
doc/guides/nics/ice.rst +0 -1
index 8d43488353..f95fef8cf0 100644
@@ -28,7 +28,8 @@ Linux Prerequisites
 Windows Prerequisites
 ---------------------
 
-- Follow the DPDK `Getting Started Guide for Windows <

https://doc.dpdk.org/guides/windows_gsg/index.html>`_ to setup the basic DPDK environment.
+- Follow the :doc:guide for Windows <../windows_gsg/run_apps>

doc/guides/nics/ice.rst +1 -0
+  to setup the basic DPDK environment.
 
 - Identify the Intel® Ethernet adapter and get the latest NVM/FW version.
doc/guides/prog_guide/telemetry_lib.rst +0 -1
index 6ea16e9491..32f525a67f 100644
@@ -140,7 +140,7 @@ Giving the following response to the client::
     {"/example_lib/string_example": "This is an example string"}
 
 For more information on the range of data functions available in the API,
-please refer to the `API doc <

https://doc.dpdk.org/api-20.05/rte__telemetry_8h.html>`_
+please refer to the `API doc <
https://doc.dpdk.org/api/rte__telemetry_8h.html>`_

Registering Commands
--
2.33.0

Acked-by on v1 1/1
#2 lore raw
In reply to Thomas Monjalon
Quoted 9 lines · Thomas Monjalon

The guides should be referenced locally with RST syntax :doc: (beginning of page) or :ref: (specific chapter). The links to doc.dpdk.org/guides/ are removed.

The links to the doc.dpdk.org/api/ are acceptable, but should not point to a specific version, so one is fixed.

Signature · 1 line
David Marchand
author Applied
#3 lore raw

08/10/2021 09:34, David Marchand:

Quoted 6 lines · Thomas Monjalon
Quoted 5 lines

The guides should be referenced locally with RST syntax :doc: (beginning of page) or :ref: (specific chapter). The links to doc.dpdk.org/guides/ are removed.

Quoted 6 lines
Quoted 4 lines

The links to the doc.dpdk.org/api/ are acceptable, but should not point to a specific version, so one is fixed.

Applied