Skip to contentSkip to conversation

doc: fix project version in guides

PATCH Applied Thomas Monjalon 1 participant 2 messages Oct 16, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: fix project version in guides

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")
---
 doc/guides/conf.py | 1 +
 1 file changed, 1 insertion(+)
doc/guides/conf.py +1 -0
index 270754b901..2ffe5a5969 100644
@@ -33,6 +33,7 @@
 highlight_language = 'none'
 
 release = environ['DPDK_VERSION']
+version = release
 
 master_doc = 'index'
 
Signature · 1 line
2.28.0
author Applied
#1 lore raw

16/10/2020 04:50, Thomas Monjalon:

Quoted 7 lines

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")

Applied