2020-04-08 15:48:52

by Mauro Carvalho Chehab

[permalink] [raw]
Subject: [PATCH 33/35] docs: i2c: rename i2c.svg to i2c_bus.svg

When generating the PDF output, the Documentation/i2c dir
will generate an i2c.pdf. The same happens with i2c.svg:
it will also produce a file with the same name, at the same dir.

This causes errors when building the PDF output. So, rename the
image to i2c_bus.svg.

Signed-off-by: Mauro Carvalho Chehab <[email protected]>
---
Documentation/i2c/{i2c.svg => i2c_bus.svg} | 2 +-
Documentation/i2c/summary.rst | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
rename Documentation/i2c/{i2c.svg => i2c_bus.svg} (99%)

diff --git a/Documentation/i2c/i2c.svg b/Documentation/i2c/i2c_bus.svg
similarity index 99%
rename from Documentation/i2c/i2c.svg
rename to Documentation/i2c/i2c_bus.svg
index 5979405ad1c3..3170de976373 100644
--- a/Documentation/i2c/i2c.svg
+++ b/Documentation/i2c/i2c_bus.svg
@@ -9,7 +9,7 @@
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- sodipodi:docname="i2c.svg"
+ sodipodi:docname="i2c_bus.svg"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
version="1.1"
id="svg2"
diff --git a/Documentation/i2c/summary.rst b/Documentation/i2c/summary.rst
index ce7230025b33..136c4e333be7 100644
--- a/Documentation/i2c/summary.rst
+++ b/Documentation/i2c/summary.rst
@@ -34,7 +34,7 @@ Terminology
Using the terminology from the official documentation, the I2C bus connects
one or more *master* chips and one or more *slave* chips.

-.. kernel-figure:: i2c.svg
+.. kernel-figure:: i2c_bus.svg
:alt: Simple I2C bus with one master and 3 slaves

Simple I2C bus
--
2.25.2


2020-04-08 15:57:57

by Wolfram Sang

[permalink] [raw]
Subject: Re: [PATCH 33/35] docs: i2c: rename i2c.svg to i2c_bus.svg

On Wed, Apr 08, 2020 at 05:46:25PM +0200, Mauro Carvalho Chehab wrote:
> When generating the PDF output, the Documentation/i2c dir
> will generate an i2c.pdf. The same happens with i2c.svg:
> it will also produce a file with the same name, at the same dir.
>
> This causes errors when building the PDF output. So, rename the
> image to i2c_bus.svg.
>
> Signed-off-by: Mauro Carvalho Chehab <[email protected]>

Acked-by: Wolfram Sang <[email protected]>

I assume the series goes in via the doc-tree, let me know if I should
pick it.


Attachments:
(No filename) (560.00 B)
signature.asc (849.00 B)
Download all attachments