From b63c61a925ecb739160f68a7b566ec91f02690c6 Mon Sep 17 00:00:00 2001 From: Jean Baptiste Favre Date: Mon, 23 Apr 2018 16:04:34 +0200 Subject: [PATCH] Make documentation build works outside of git repository Gbp-Pq: Name 0009-fix-doc-git.patch --- doc/ext/traffic-server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ext/traffic-server.py b/doc/ext/traffic-server.py index acc6ec17..44283bc4 100644 --- a/doc/ext/traffic-server.py +++ b/doc/ext/traffic-server.py @@ -412,7 +412,7 @@ with open('../configure.ac', 'r') as f: autoconf_version = '.'.join(match.group(1).split('.', 2)[:2] + ['x']) # get the current branch the local repository is on -git_branch = subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD']) +git_branch = "master" def make_github_link(name, rawtext, text, lineno, inliner, options={}, content=[]): -- 2.30.2