From 0469e764610c66b9dd135f7f941fec696980b698 Mon Sep 17 00:00:00 2001 From: Antonio Augusto Alves Junior <aalvesju@gmail.com> Date: Tue, 8 Jun 2021 16:13:10 +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 961ba5b00..96f3ae8a5 100644 --- a/documentation/conf.py +++ b/documentation/conf.py @@ -17,7 +17,7 @@ read_the_docs_build = os.environ.get('READTHEDOCS', None) == 'True' if read_the_docs_build: configureDoxyfile("Doxyfile.in", "Doxyfile", "../", "_build/workdir/doxygen") - s = subprocess.check_output(['git','branch', '--show-current']) + s = subprocess.check_output(['git', 'rev-parse' , '--abbrev-ref' , 'HEAD']) print("s = " + s) subprocess.call('mkdir -p _build/workdir/doxygen; doxygen Doxyfile', shell=True) html_extra_path = ['_build/workdir/'] -- GitLab