Skip to content

Commit

Permalink
Try to fix version switcher.
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidz00 committed Jan 13, 2025
1 parent a679ecb commit 573802f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ build:
python3 -m build --sdist --wheel

docs:
@BRANCH=$(shell echo $(GITHUB_REF_NAME)) && \
mkdir -p docs/_build/$$BRANCH && \
sphinx-build -b html docs/ docs/_build/$$BRANCH
@BRANCH=${BRANCH:-main} && \
mkdir -p docs/_build/html/$$BRANCH && \
sphinx-build -b html docs/ docs/_build/html/$$BRANCH

0 comments on commit 573802f

Please sign in to comment.