From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 4FA115678; Sun, 4 Dec 2016 17:47:42 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP; 04 Dec 2016 08:47:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,299,1477983600"; d="scan'208";a="1094428656" Received: from sivswdev02.ir.intel.com (HELO localhost.localdomain) ([10.237.217.46]) by fmsmga002.fm.intel.com with ESMTP; 04 Dec 2016 08:47:41 -0800 From: John McNamara To: dev@dpdk.org Cc: stable@dpdk.org, John McNamara Date: Sun, 4 Dec 2016 16:47:37 +0000 Message-Id: <1480870057-1674-1-git-send-email-john.mcnamara@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-stable] [PATCH v1] doc: fix relative path of Nic table input file X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2016 16:47:44 -0000 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