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: add vDPA features table
[dpdk.git]
/
doc
/
guides
/
conf.py
diff --git
a/doc/guides/conf.py
b/doc/guides/conf.py
index
a85f6c9
..
c368fa5
100644
(file)
--- a/
doc/guides/conf.py
+++ b/
doc/guides/conf.py
@@
-62,11
+62,11
@@
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{helvet}
-\renewcommand{\familydefault}{\sfdefault}
+\usepackage{textalpha}
\RecustomVerbatimEnvironment{Verbatim}{Verbatim}{xleftmargin=5mm}
\RecustomVerbatimEnvironment{Verbatim}{Verbatim}{xleftmargin=5mm}
+\usepackage{etoolbox}
+\robustify\(
+\robustify\)
"""
# Configuration for the latex/pdf docs.
"""
# Configuration for the latex/pdf docs.
@@
-237,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]
@@
-401,6
+401,11
@@
def setup(app):
'Features',
'Features availability in compression drivers',
'Feature')
'Features',
'Features availability in compression drivers',
'Feature')
+ table_file = dirname(__file__) + '/vdpadevs/overview_feature_table.txt'
+ generate_overview_table(table_file, 1,
+ 'Features',
+ 'Features availability in vDPA drivers',
+ 'Feature')
if LooseVersion(sphinx_version) < LooseVersion('1.3.1'):
print('Upgrade sphinx to version >= 1.3.1 for '
if LooseVersion(sphinx_version) < LooseVersion('1.3.1'):
print('Upgrade sphinx to version >= 1.3.1 for '