Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Makefile 1.45 KiB
# 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 = source
BUILDDIR = build
# Copy the notebooks
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: help Makefile
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
# copy the notebooks
cp -r ../examples/ source/
# cp ../examples/notebook_individual_systems.ipynb source/
# cp ../examples/notebook_custom_logging.ipynb source/
# cp ../examples/notebook_population.ipynb source/
# cp ../examples/notebook_extra_features.ipynb source/
# cp ../examples/notebook_api_functionality.ipynb source/
# cp ../examples/notebook_luminosity_function_single.ipynb source/
# cp ../examples/notebook_luminosity_function_binaries.ipynb source/
# cp ../examples/notebook_HRD.ipynb source/
# cp ../examples/notebook_common_envelope_evolution.ipynb source/
# cp ../examples/notebook_BHBH.ipynb source/
# cp ../examples/notebook_massive_remnants.ipynb source/
# cp ../examples/notebook_solar_system.ipynb source/
# Copy the badges
cp -r ../badges/ source/
# actually run the sphinx stuff
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)