[dpdk-dev] doc: fix GSO guide as PDF

Message ID 20171115175905.11848-1-thomas@monjalon.net (mailing list archive)
State Accepted, archived
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Thomas Monjalon Nov. 15, 2017, 5:59 p.m. UTC
  The PDF cannot be built because of some images integration being
forced as SVG. They are converted for PDF format, so the extension
must be a wildcard in the RST file.

Fixes: f6010c7655cc ("doc: add GSO programmer's guide")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
 doc/guides/prog_guide/generic_segmentation_offload_lib.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Thomas Monjalon Nov. 15, 2017, 6:18 p.m. UTC | #1
15/11/2017 18:59, Thomas Monjalon:
> The PDF cannot be built because of some images integration being
> forced as SVG. They are converted for PDF format, so the extension
> must be a wildcard in the RST file.
> 
> Fixes: f6010c7655cc ("doc: add GSO programmer's guide")
> 
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>

I had to apply this fix in the release to fix the PDF build.
It has been discovered after pushing the tag v17.11,
so the tag has been updated.
  

Patch

diff --git a/doc/guides/prog_guide/generic_segmentation_offload_lib.rst b/doc/guides/prog_guide/generic_segmentation_offload_lib.rst
index 4bbf01a46..ef1de53d9 100644
--- a/doc/guides/prog_guide/generic_segmentation_offload_lib.rst
+++ b/doc/guides/prog_guide/generic_segmentation_offload_lib.rst
@@ -120,7 +120,7 @@  in :numref:`figure_gso-output-segment-format`.
 
 .. _figure_gso-output-segment-format:
 
-.. figure:: img/gso-output-segment-format.svg
+.. figure:: img/gso-output-segment-format.*
    :align: center
 
    Two-part GSO output segment
@@ -160,7 +160,7 @@  next input segment).
 
 .. _figure_gso-three-seg-mbuf:
 
-.. figure:: img/gso-three-seg-mbuf.svg
+.. figure:: img/gso-three-seg-mbuf.*
    :align: center
 
    Three-part GSO output segment