6acf609
--- doc/conf.py.orig	2019-01-15 14:13:57.000000000 -0700
6acf609
+++ doc/conf.py	2019-08-23 09:29:09.742863974 -0600
6acf609
@@ -221,10 +221,7 @@ def linkcode_resolve(domain, info):
6acf609
         filename = 'theano/%s#L%d-L%d' % find_source()
6acf609
     except Exception:
6acf609
         filename = info['module'].replace('.', '/') + '.py'
6acf609
-    import subprocess
6acf609
-    tag = subprocess.Popen(['git', 'rev-parse', 'HEAD'],
6acf609
-                           stdout=subprocess.PIPE,
6acf609
-                           universal_newlines=True).communicate()[0][:-1]
6acf609
+    tag = '@@tag@@'
6acf609
     return "https://github.com/Theano/theano/blob/%s/%s" % (tag, filename)
6acf609
 
6acf609
 # Options for LaTeX output