Skip to content

Commit 892f35c

Browse files
authored
Merge pull request #8 from lisajulia/fix/docs-Makefile
In docs makefile: move declaration of CURRENT_PATH variable up, this …
2 parents a15cca6 + e412ef9 commit 892f35c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/sphinx_docs/Makefile

+2-2
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)