From 65ab21e799d88a4028f696deec6263a29700e476 Mon Sep 17 00:00:00 2001
From: Antonio Augusto Alves Junior <aalvesju@gmail.com>
Date: Tue, 8 Jun 2021 18:08:55 +0200
Subject: [PATCH] Update conf.py

---
 documentation/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/documentation/conf.py b/documentation/conf.py
index d9781fc6b..70662f799 100644
--- a/documentation/conf.py
+++ b/documentation/conf.py
@@ -24,7 +24,7 @@ def getDocumentationUrl(base_name, repo_dir):
         if line[0:4] == "ref:":
             branchname=line.partition("refs/heads/")[2]
     
-    if branch=='master': name='latest'
+    if branchname=='master': name='latest'
     else: name=branchname
     
     return base_name + '/' + name 
-- 
GitLab