From mboxrd@z Thu Jan 1 00:00:00 1970 From: John McNamara Subject: [PATCH v1] doc: fix relative path of Nic table input file Date: Sun, 4 Dec 2016 16:47:37 +0000 Message-ID: <1480870057-1674-1-git-send-email-john.mcnamara@intel.com> Cc: stable@dpdk.org, John McNamara To: dev@dpdk.org Return-path: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Fix relative path between sphinx conf.py file and Nic table file to allow automatic build on ReadTheDocs. Fixes: 9db3f52126fb ("doc: generate NIC overview table from ini files") Signed-off-by: John McNamara --- doc/guides/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/guides/conf.py b/doc/guides/conf.py index 149bcdb..29e8efb 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -312,7 +312,8 @@ def print_table_divider(outfile, num_cols): def setup(app): - generate_nic_overview_table('doc/guides/nics/overview_table.txt') + table_file = dirname(__file__) + '/nics/overview_table.txt' + generate_nic_overview_table(table_file) if LooseVersion(sphinx_version) < LooseVersion('1.3.1'): print('Upgrade sphinx to version >= 1.3.1 for ' -- 2.7.4