A community-maintained Python framework for creating mathematical animations.
Fix docs build directory (#699)
Mysaae1b2d1083604
diff --git a/docs/Makefile b/docs/Makefileindex 1f5f413c9..846802dda 100644--- a/docs/Makefile+++ b/docs/Makefile@@ -5,12 +5,14 @@# from the environment for the first two.SPHINXOPTS ?=SPHINXBUILD ?= sphinx-build-SOURCEDIR = source-BUILDDIR = build++# Path base is the source directory+SOURCEDIR = .+BUILDDIR = ../build# Put it first so that "make" without argument is like "make help".help:- @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)+ @(cd source; $(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)).PHONY: help Makefile@@ -23,4 +25,4 @@ cleanall: clean# 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)+ @(cd source; $(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O))diff --git a/docs/make.bat b/docs/make.batindex 6247f7e23..9a8d336ae 100644--- a/docs/make.bat+++ b/docs/make.bat@@ -1,14 +1,16 @@@ECHO OFF-pushd %~dp0+pushd %~dp0\sourceREM Command file for Sphinx documentationif "%SPHINXBUILD%" == "" (set SPHINXBUILD=sphinx-build)-set SOURCEDIR=source-set BUILDDIR=build++REM The paths are taken from the source directory+set SOURCEDIR=.+set BUILDDIR=..\buildif "%1" == "" goto help