Fix project & version for Phosphorus 86/100286/2
authorSangwook Ha <sangwook.ha@verizon.com>
Tue, 29 Mar 2022 19:12:54 +0000 (12:12 -0700)
committerSangwook Ha <sangwook.ha@verizon.com>
Tue, 29 Mar 2022 20:08:42 +0000 (13:08 -0700)
commitb72997a203ddf10cbf78549bcaffb8c5c26d333f
tree29918da3758fde9553bf3790d879a1b5a6149e01
parent45f3467c3f45f3562930f690bf4077e72487649c
Fix project & version for Phosphorus

OpenDaylight documentation site for Phosphorus currently shows
'transportpce' & 'stable-phosphorus' as the project name & version,
respectively, instead of 'OpenDaylight Documentation' & 'Phosphorus'
as configured in conf.yaml because global variables 'project' and
'version' are overridden while 'intersphinx_mapping' is getting
updated.

Move the for-loop to update 'intersphinx_mapping' inside a function
to prevent the global 'project' & 'version' variables from being
inadvertently updated.

Change-Id: I9a418f29f8d5710c822985bbfe7e7c62743bc46b
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
docs/conf.py