Code Review
/
releng
/
docs-conf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
e3993cb
)
Default release to version if not in use
77/9277/1
author
Thanh Ha
<thanh.ha@linuxfoundation.org>
Tue, 6 Mar 2018 19:03:31 +0000
(14:03 -0500)
committer
Thanh Ha
<thanh.ha@linuxfoundation.org>
Tue, 6 Mar 2018 19:03:33 +0000
(14:03 -0500)
Simplify things by setting release = version for projects who do
not have the clear distinction.
Change-Id: I746f599ffc10012003c4268b1b31094bcaee5a6f
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
docs_conf/conf.py
patch
|
blob
|
history
diff --git
a/docs_conf/conf.py
b/docs_conf/conf.py
index
c66aa4d
..
75404fa
100644
(file)
--- a/
docs_conf/conf.py
+++ b/
docs_conf/conf.py
@@
-73,8
+73,8
@@
cfg = collect_project_and_config()
# Parse the config and pull in sphinx conf.py settings
project = cfg.get('project')
-release = cfg.get('release')
version = cfg.get('version')
+release = cfg.get('release', version)
author = cfg.get('author')
copyright = cfg.get('copyright')