Skip to content

Commit

Permalink
Fix sphinx Makefile on forks where vars.DOCUMENTATION_DOMAIN is not…
Browse files Browse the repository at this point in the history
… provisioned
  • Loading branch information
thomass-dev committed Jan 23, 2025
1 parent 6f10046 commit cdd4e30
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions sphinx/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# Minimal makefile for Sphinx documentation
#

# Ensures SPHINX_DOMAIN is not an empty string
ifeq ($(SPHINX_DOMAIN),)
SPHINX_DOMAIN := skore.probabl.ai
endif

export SPHINX_VERSION ?= dev
export SPHINX_RELEASE ?= 0.0.0+dev
export SPHINX_DOMAIN ?= skore.probabl.ai
export SPHINX_DOMAIN

# You can set these variables from the command line, and also
# from the environment for the first two.
Expand All @@ -21,4 +26,4 @@ help:
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

0 comments on commit cdd4e30

Please sign in to comment.