Files
IfcOpenShell/src/bonsai/docs/Makefile
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
827 B
Makefile
Raw Normal View History

2020-01-08 10:58:52 +11:00
# 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
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
2025-08-13 13:34:22 +05:00
@echo ""
@echo "You can also do 'make server' to launch html server for previously built html docs."
2020-01-08 10:58:52 +11:00
.PHONY: help Makefile
2025-08-13 13:34:22 +05:00
server:
python -m http.server 8080 --directory $(BUILDDIR)/html
.PHONY: server Makefile
2020-01-08 10:58:52 +11:00
# 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)