Skip to content

Commit

Permalink
media: docs: fix PDF build with Sphinx 1.4
Browse files Browse the repository at this point in the history
Commit 70b074d ("media: fix pdf build with Spinx 1.6") caused
a regression at Sphinx 1.4 PDF build: although it produces a full
document in batch mode, it returns errors on interactive mode:

	[63]
	Runaway argument?
	{\relax
	! Paragraph ended before \multicolumn was complete.
	<to be read again>
	                   \par
	l.7703 \hline\end{tabulary}

The error seems to be due to some bug at Sphinx PDF output:
when multicolumns is used, it doesn't accept an empty string.

Just removing the :cpan:`1` and replacing by two empty
columns fix the issue.

Fixes: 70b074d ("media: fix pdf build with Spinx 1.6")

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
  • Loading branch information
mchehab committed Sep 5, 2017
1 parent b75c1d8 commit b5dd3ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions Documentation/media/uapi/v4l/pixfmt-packed-rgb.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ next to each other in memory.
- :cspan:`7` Byte 1
- :cspan:`7` Byte 2
- :cspan:`7` Byte 3
* - :cspan:`1`
* -
-
- 7
- 6
- 5
Expand Down Expand Up @@ -665,7 +666,8 @@ either the corresponding ARGB or XRGB format, depending on the driver.
- :cspan:`7` Byte 2

- :cspan:`7` Byte 3
* - :cspan:`1`
* -
-
- 7
- 6
- 5
Expand Down
3 changes: 2 additions & 1 deletion Documentation/media/uapi/v4l/pixfmt-packed-yuv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ component of each pixel in one 16 or 32 bit word.
- :cspan:`7` Byte 2

- :cspan:`7` Byte 3
* - :cspan:`1`
* -
-
- 7
- 6
- 5
Expand Down

0 comments on commit b5dd3ea

Please sign in to comment.