From 41729f95b4626481032c670314e41150ff1d8d09 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Wed, 15 Dec 2021 23:34:09 +0100 Subject: [PATCH] Disable tocupdate --- Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 1de8fc7..1f4416d 100755 --- a/Makefile +++ b/Makefile @@ -72,11 +72,12 @@ prepare-slides: ## install prerequisites for PDF slides only npx browserslist@latest --update-db prepare-docs: ## install prerequisites for static docs site only - if [ "$(SYSTEM_INSTALL)" -eq 1 ]; then \ - pipenv install --deploy --system ; \ - else \ - pipenv install ; \ - fi + pipenv install + # if [ "$(SYSTEM_INSTALL)" -eq 1 ]; then \ + # pipenv install --deploy --system ; \ + #else \ + # pipenv install ; \ + #fi .PHONY: prepare prepare-slides prepare-docs @@ -120,7 +121,6 @@ watch-tocupdate-internal: while inotifywait -q -e move -e modify -e create -e attrib -e delete -e moved_to -r docs ; do \ sleep 2 ; \ $(MAKE) images ; \ - $(MAKE) tocupdate ; \ done watch-docs-internal: @@ -148,8 +148,8 @@ serve-docs: watch-docs .PHONY: watch watch-slides watch-docs watch-slides-internal watch-docs-internal serve serve-docs serve-slides -tocupdate: - pipenv run ./scripts/update-toc $(DOCS_DIR) ; \ +#tocupdate: +# pipenv run ./scripts/update-toc $(DOCS_DIR) ; \ $(BUILD_SLIDES_DIR)/%.pdf: $(CACHE_SLIDES_DIR)/%.mdpp.md | $(BUILD_SLIDES_DIR) .marp/theme.css npx marp --allow-local-files \ @@ -184,7 +184,7 @@ build-slides: $(SLIDES_PDF_ALL) $(SLIDES_MD_ALL) ## build PDF slides only merge-slides: $(SLIDES_MDPP_MD) $(SLIDES_MD_ALL) build-docs: ## build static docs site only - $(MAKE) tocupdate + #$(MAKE) tocupdate mkdir -p $(BUILD_DOCS_DIR) pipenv run mkdocs build \ --site-dir $(BUILD_DOCS_DIR)