Skip to content

Commit

Permalink
Fixing link code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ragav Venkatesan committed Nov 13, 2016
1 parent 17b68fc commit 3d4e3f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,9 @@ def find_source():

filename = info['module'].replace('.', '/') + '.py'
tag = 'master' if 'dev' in release else ('v' + release)
return "https://github.com/ragavvenkatesan/yann/blob/%s/%s" % (tag, filename)

return "https://github.com/ragavvenkatesan/yann/blob/master/%s" % (filename)
# this is wrong, I mean I am always showing the code only in the master branch.
# For some reason, I don't know how to write master here for release candidate.'

# Options for HTML output
# -----------------------
Expand Down

0 comments on commit 3d4e3f1

Please sign in to comment.