| # Minimal makefile for Sphinx documentation | |
| # | |
| # You can set these variables from the command line, and also | |
| # from the environment for the first two. | |
| SPHINXOPTS ?= | |
| SPHINXBUILD ?= sphinx-build | |
| SOURCEDIR = . | |
| BUILDDIR = _build | |
| multi-docs: | |
| @sphinx-multiversion "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) | |
| @cp _redirect/index.html $(BUILDDIR)/index.html | |
| current-docs: | |
| @rm -rf "$(BUILDDIR)/current" | |
| @$(SPHINXBUILD) -W --keep-going "$(SOURCEDIR)" "$(BUILDDIR)/current" $(SPHINXOPTS) | |