Skip to content

Commit

Permalink
Changing the linkcode to fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ragav Venkatesan committed Nov 13, 2016
1 parent 36e4ae1 commit 17b68fc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,8 @@ def find_source():

if domain != 'py' or not info['module']:
return None
try:
filename = 'lasagne/%s#L%d-L%d' % find_source()
except Exception:
filename = info['module'].replace('.', '/') + '.py'

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)

Expand Down

0 comments on commit 17b68fc

Please sign in to comment.