From b96608d9e6b5b21eacfa36675408af9c87530cfe Mon Sep 17 00:00:00 2001 From: Mark Hillebrand Date: Thu, 20 Apr 2017 14:43:58 +0200 Subject: [PATCH] bindings/python/doc/conf.py: fix logic to link to Github repository --- bindings/python/doc/conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bindings/python/doc/conf.py b/bindings/python/doc/conf.py index f40cf8bc7..7688b55c3 100644 --- a/bindings/python/doc/conf.py +++ b/bindings/python/doc/conf.py @@ -68,10 +68,10 @@ linkcheck_anchors_ignore = [ source_prefix = 'https://github.com/Microsoft/CNTK/blob/' if module_is_unreleased(): - # TODO temporary - source_prefix += 'v%s' % (cntk.__version__[:-1].replace("rc", ".rc")) -else: source_prefix += 'master' +else: + # TODO temporary + source_prefix += 'v%s' % (cntk.__version__.replace("rc", ".rc")) # sphinx.ext.extlinks options extlinks = {