docs-rst: remove a rst2pdf left over code
The usage of rst2pdf was replaced by pdflatex on a previous patch. Remove the left-over code at conf.py. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
Родитель
16dbe8042e
Коммит
a69ab10869
|
@ -31,13 +31,6 @@ from load_config import loadConfig
|
||||||
# ones.
|
# ones.
|
||||||
extensions = ['kernel-doc', 'rstFlatTable', 'kernel_include']
|
extensions = ['kernel-doc', 'rstFlatTable', 'kernel_include']
|
||||||
|
|
||||||
# Gracefully handle missing rst2pdf.
|
|
||||||
try:
|
|
||||||
import rst2pdf
|
|
||||||
extensions += ['rst2pdf.pdfbuilder']
|
|
||||||
except ImportError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
templates_path = ['_templates']
|
templates_path = ['_templates']
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче