Skip to content

Commit e412ef9

Browse files
author
Lisa Julia Nebel
committed
In docs makefile: move declaration of CURRENT_PATH variable up, this was causing an error for me before
1 parent a15cca6 commit e412ef9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/sphinx_docs/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
# Build the documentation locally for the current branch
44
# NOTE: You need to commit your changes before running this command
5+
CURRENT_BRANCH=$(shell git rev-parse --abbrev-ref HEAD)
56
docs:
6-
@CURRENT_BRANCH=$(shell git rev-parse --abbrev-ref HEAD)
7-
sphinx-versioned -m $$CURRENT_BRANCH -b $$CURRENT_BRANCH --git-root ../../
7+
sphinx-versioned -m ${CURRENT_BRANCH} -b ${CURRENT_BRANCH} --git-root ../../

0 commit comments

Comments
 (0)