patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH v1] doc: fix relative path of Nic table input file
@ 2016-12-04 16:47 John McNamara
  2016-12-05 10:19 ` Ferruh Yigit
  2016-12-05 15:15 ` [dpdk-stable] [dpdk-dev] " De Lara Guarch, Pablo
  0 siblings, 2 replies; 4+ messages in thread
From: John McNamara @ 2016-12-04 16:47 UTC (permalink / raw)
  To: dev; +Cc: stable, John McNamara

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 <john.mcnamara@intel.com>
---
 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-stable] [PATCH v1] doc: fix relative path of Nic table input file
  2016-12-04 16:47 [dpdk-stable] [PATCH v1] doc: fix relative path of Nic table input file John McNamara
@ 2016-12-05 10:19 ` Ferruh Yigit
  2016-12-05 15:15 ` [dpdk-stable] [dpdk-dev] " De Lara Guarch, Pablo
  1 sibling, 0 replies; 4+ messages in thread
From: Ferruh Yigit @ 2016-12-05 10:19 UTC (permalink / raw)
  To: John McNamara, dev; +Cc: stable

On 12/4/2016 4:47 PM, John McNamara wrote:
> 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 <john.mcnamara@intel.com>

Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-stable] [dpdk-dev] [PATCH v1] doc: fix relative path of Nic table input file
  2016-12-04 16:47 [dpdk-stable] [PATCH v1] doc: fix relative path of Nic table input file John McNamara
  2016-12-05 10:19 ` Ferruh Yigit
@ 2016-12-05 15:15 ` De Lara Guarch, Pablo
  2016-12-06 16:31   ` Thomas Monjalon
  1 sibling, 1 reply; 4+ messages in thread
From: De Lara Guarch, Pablo @ 2016-12-05 15:15 UTC (permalink / raw)
  To: Mcnamara, John, dev; +Cc: stable, Mcnamara, John



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of John McNamara
> Sent: Sunday, December 04, 2016 4:48 PM
> To: dev@dpdk.org
> Cc: stable@dpdk.org; Mcnamara, John
> Subject: [dpdk-dev] [PATCH v1] doc: fix relative path of Nic table input file
> 
> 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 <john.mcnamara@intel.com>

Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-stable] [dpdk-dev] [PATCH v1] doc: fix relative path of Nic table input file
  2016-12-05 15:15 ` [dpdk-stable] [dpdk-dev] " De Lara Guarch, Pablo
@ 2016-12-06 16:31   ` Thomas Monjalon
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2016-12-06 16:31 UTC (permalink / raw)
  To: Mcnamara, John; +Cc: dev, De Lara Guarch, Pablo, stable

> > 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 <john.mcnamara@intel.com>
> 
> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>

Applied, thanks

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-12-06 16:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-04 16:47 [dpdk-stable] [PATCH v1] doc: fix relative path of Nic table input file John McNamara
2016-12-05 10:19 ` Ferruh Yigit
2016-12-05 15:15 ` [dpdk-stable] [dpdk-dev] " De Lara Guarch, Pablo
2016-12-06 16:31   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).