docs-rst: conf.py: adjust the size of .. note:: tag
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 19 Aug 2016 12:49:38 +0000 (09:49 -0300)
committerJonathan Corbet <corbet@lwn.net>
Mon, 22 Aug 2016 21:26:57 +0000 (15:26 -0600)
commitaa4e37a3d13679dccf7945dd864375b698cf0df9
treee1b0bc7bcfb1d7f1eb8b3afda22afb2125ec0b3e
parentd565127d120e9b95ba98549c31eab9cec1cbbbc7
docs-rst: conf.py: adjust the size of .. note:: tag

While the current implementation works well when using as a
paragraph, it doesn't work properly if inside a table. As we
have quite a few such cases, fix the logic to take the column
size into account.

PS.: I took the logic there from the latest version of Sphinx.sty

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/conf.py