git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: fix build with python 3.8
[dpdk.git]
/
doc
/
guides
/
conf.py
diff --git
a/doc/guides/conf.py
b/doc/guides/conf.py
index
94b97dc
..
0892c06
100644
(file)
--- a/
doc/guides/conf.py
+++ b/
doc/guides/conf.py
@@
-62,11
+62,7
@@
latex_documents = [
# Latex directives to be included directly in the latex/pdf docs.
custom_latex_preamble = r"""
# Latex directives to be included directly in the latex/pdf docs.
custom_latex_preamble = r"""
-\usepackage[utf8]{inputenc}
-\usepackage[T1]{fontenc}
\usepackage{textalpha}
\usepackage{textalpha}
-\usepackage{helvet}
-\renewcommand{\familydefault}{\sfdefault}
\RecustomVerbatimEnvironment{Verbatim}{Verbatim}{xleftmargin=5mm}
\usepackage{etoolbox}
\robustify\(
\RecustomVerbatimEnvironment{Verbatim}{Verbatim}{xleftmargin=5mm}
\usepackage{etoolbox}
\robustify\(
@@
-241,7
+237,7
@@
def generate_overview_table(output_filename, table_id, section, table_name, titl
ini_filename))
continue
ini_filename))
continue
- if value
is not ''
:
+ if value:
# Get the first letter only.
ini_data[ini_filename][name] = value[0]
# Get the first letter only.
ini_data[ini_filename][name] = value[0]