net/mvpp2: fix building pdf documentation

Message ID 20181029203454.28908-1-dg@adax.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers
Series net/mvpp2: fix building pdf documentation |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Dan Gora Oct. 29, 2018, 8:34 p.m. UTC
Don't use .svg extension on ..figure references.  PDF versions of
the documents use .png images generated from the .svg images.

Fixes: 0ba610ca1d17 ("net/mvpp2: document MTR and TM usage")
Cc: nsamsono@marvell.com

Signed-off-by: Dan Gora <dg@adax.com>
---
 doc/guides/nics/mvpp2.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Thomas Monjalon Oct. 31, 2018, 11:11 a.m. UTC | #1
29/10/2018 21:34, Dan Gora:
> Don't use .svg extension on ..figure references.  PDF versions of
> the documents use .png images generated from the .svg images.
> 
> Fixes: 0ba610ca1d17 ("net/mvpp2: document MTR and TM usage")
> Cc: nsamsono@marvell.com
> 
> Signed-off-by: Dan Gora <dg@adax.com>

Applied, thanks
  

Patch

diff --git a/doc/guides/nics/mvpp2.rst b/doc/guides/nics/mvpp2.rst
index 59fa0e10d..10303a1c1 100644
--- a/doc/guides/nics/mvpp2.rst
+++ b/doc/guides/nics/mvpp2.rst
@@ -644,7 +644,7 @@  Node which has a parent is called a leaf whereas node without
 parent is called a non-leaf (root).
 MVPP2 PMD supports two level hierarchy where level 0 represents ports and level 1 represents tx queues of a given port.
 
-.. figure:: img/mvpp2_tm.svg
+.. figure:: img/mvpp2_tm.*
 
 Nodes hold following types of settings: