#2472: copy image assets + applying change to makefile

This commit is contained in:
Czar Echavez
2024-05-09 14:16:29 +01:00
parent 81c523dc67
commit 795004be5b
2 changed files with 8 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build
AUTOSUMMARY="source/_autosummary"
JUPYTEROUTPUTPATH="_static\notebooks\html"
# Remove command is different depending on OS
ifdef OS
@@ -31,4 +31,8 @@ clean:
%: Makefile | clean
pip-licenses --format=rst --with-urls --output-file=source/primaite-dependencies.rst
jupyter nbconvert --execute --to html --output-dir _static/notebooks/html ../src/primaite/**/*.ipynb
cp -r ../src/primaite/notebooks/_package_data _static/notebooks/html/_package_data _static/notebooks/html/_package_data
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)