From e412ef93818dc0b8c26c9d5f362a2800bc2730e2 Mon Sep 17 00:00:00 2001 From: Lisa Julia Nebel Date: Thu, 9 Jan 2025 07:51:22 +0100 Subject: [PATCH] In docs makefile: move declaration of CURRENT_PATH variable up, this was causing an error for me before --- python/sphinx_docs/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/sphinx_docs/Makefile b/python/sphinx_docs/Makefile index 9e4f874..5315d96 100644 --- a/python/sphinx_docs/Makefile +++ b/python/sphinx_docs/Makefile @@ -2,6 +2,6 @@ # Build the documentation locally for the current branch # NOTE: You need to commit your changes before running this command +CURRENT_BRANCH=$(shell git rev-parse --abbrev-ref HEAD) docs: - @CURRENT_BRANCH=$(shell git rev-parse --abbrev-ref HEAD) - sphinx-versioned -m $$CURRENT_BRANCH -b $$CURRENT_BRANCH --git-root ../../ \ No newline at end of file + sphinx-versioned -m ${CURRENT_BRANCH} -b ${CURRENT_BRANCH} --git-root ../../