X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fguides%2Fconf.py;h=c368fa51d431e5b976fc5cf3add488d42b732fca;hb=c3d0bc45d0c4b073c8c90ba6740f1e58f8069933;hp=6d5001a07bd310e9ac3a7a819800fd73a2bc9fdb;hpb=1f7203d6155d473173dd4ba98cb81c46c6c1b5c8;p=dpdk.git diff --git a/doc/guides/conf.py b/doc/guides/conf.py index 6d5001a07b..c368fa51d4 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -62,10 +62,7 @@ latex_documents = [ # 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} \usepackage{etoolbox} \robustify\( @@ -240,7 +237,7 @@ def generate_overview_table(output_filename, table_id, section, table_name, titl ini_filename)) continue - if value is not '': + if value: # Get the first letter only. ini_data[ini_filename][name] = value[0] @@ -404,6 +401,11 @@ def setup(app): '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 '