doc: fix project version in guides

Message ID 20201016025009.2522686-1-thomas@monjalon.net (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series doc: fix project version in guides |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK
ci/travis-robot success Travis build: passed

Commit Message

Thomas Monjalon Oct. 16, 2020, 2:50 a.m. UTC
  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 | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Thomas Monjalon Oct. 16, 2020, 3:56 p.m. UTC | #1
16/10/2020 04:50, Thomas Monjalon:
> 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>

Applied
  

Patch

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'