[dpdk-dev] [PATCH] doc: fix project version in guides

Thomas Monjalon thomas at monjalon.net
Fri Oct 16 04:50:09 CEST 2020


The DPDK version should appear in the top left corner of the HTML guides.
When dropping make, the variable version has been removed,
so Sphinx stopped integrating the version number.

Fixes: a4362f150204 ("doc: build without using make")

Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
---
 doc/guides/conf.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/guides/conf.py b/doc/guides/conf.py
index 270754b901..2ffe5a5969 100644
--- a/doc/guides/conf.py
+++ b/doc/guides/conf.py
@@ -33,6 +33,7 @@
 highlight_language = 'none'
 
 release = environ['DPDK_VERSION']
+version = release
 
 master_doc = 'index'
 
-- 
2.28.0



More information about the dev mailing list