]> git.baikalelectronics.ru Git - kernel.git/commit
docs-rst: improve output for .. notes:: on LaTeX
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 16 Aug 2016 16:25:38 +0000 (13:25 -0300)
committerJonathan Corbet <corbet@lwn.net>
Thu, 18 Aug 2016 22:41:42 +0000 (16:41 -0600)
commit3c73407ba9eb8d9600044385aa6c5ab8d34a2ab2
treeb778b9dc5a07156a161bf13296adcb28f6cefbae
parent71fb95653315b6c720ea14db71eb27ff5603c5ba
docs-rst: improve output for .. notes:: on LaTeX

The output for those notes are bad in pdf, as they're not
in a box with a different color. Also, it causes the output
to not build if the note is inside a table.

Change its implementation to avoid the above troubles.

The logic there came from:
https://stackoverflow.com/questions/606746/how-to-customize-an-existing-latex-environment-without-interfering-with-other-en

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