]> git.droids-corp.org - dpdk.git/commitdiff
doc: fix project version in guides
authorThomas Monjalon <thomas@monjalon.net>
Fri, 16 Oct 2020 02:45:59 +0000 (04:45 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 16 Oct 2020 12:41:32 +0000 (14:41 +0200)
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@monjalon.net>
doc/guides/conf.py

index 270754b901315166c641bf0bfe4355776ff0c1b8..2ffe5a59694607c02dd81e52cb7e22513ab1a8b6 100644 (file)
@@ -33,6 +33,7 @@ html_show_copyright = False
 highlight_language = 'none'
 
 release = environ['DPDK_VERSION']
+version = release
 
 master_doc = 'index'