IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 65ab21e7 authored by Antonio Augusto Alves Junior's avatar Antonio Augusto Alves Junior Committed by Ralf Ulrich
Browse files

Update conf.py

parent b374c233
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ def getDocumentationUrl(base_name, repo_dir): ...@@ -24,7 +24,7 @@ def getDocumentationUrl(base_name, repo_dir):
if line[0:4] == "ref:": if line[0:4] == "ref:":
branchname=line.partition("refs/heads/")[2] branchname=line.partition("refs/heads/")[2]
if branch=='master': name='latest' if branchname=='master': name='latest'
else: name=branchname else: name=branchname
return base_name + '/' + name return base_name + '/' + name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment