Disable tocupdate
This commit is contained in:
parent
7298386b2f
commit
41729f95b4
1 changed files with 9 additions and 9 deletions
18
Makefile
18
Makefile
|
@ -72,11 +72,12 @@ prepare-slides: ## install prerequisites for PDF slides only
|
||||||
npx browserslist@latest --update-db
|
npx browserslist@latest --update-db
|
||||||
|
|
||||||
prepare-docs: ## install prerequisites for static docs site only
|
prepare-docs: ## install prerequisites for static docs site only
|
||||||
if [ "$(SYSTEM_INSTALL)" -eq 1 ]; then \
|
pipenv install
|
||||||
pipenv install --deploy --system ; \
|
# if [ "$(SYSTEM_INSTALL)" -eq 1 ]; then \
|
||||||
else \
|
# pipenv install --deploy --system ; \
|
||||||
pipenv install ; \
|
#else \
|
||||||
fi
|
# pipenv install ; \
|
||||||
|
#fi
|
||||||
|
|
||||||
.PHONY: prepare prepare-slides prepare-docs
|
.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 \
|
while inotifywait -q -e move -e modify -e create -e attrib -e delete -e moved_to -r docs ; do \
|
||||||
sleep 2 ; \
|
sleep 2 ; \
|
||||||
$(MAKE) images ; \
|
$(MAKE) images ; \
|
||||||
$(MAKE) tocupdate ; \
|
|
||||||
done
|
done
|
||||||
|
|
||||||
watch-docs-internal:
|
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
|
.PHONY: watch watch-slides watch-docs watch-slides-internal watch-docs-internal serve serve-docs serve-slides
|
||||||
|
|
||||||
|
|
||||||
tocupdate:
|
#tocupdate:
|
||||||
pipenv run ./scripts/update-toc $(DOCS_DIR) ; \
|
# pipenv run ./scripts/update-toc $(DOCS_DIR) ; \
|
||||||
|
|
||||||
$(BUILD_SLIDES_DIR)/%.pdf: $(CACHE_SLIDES_DIR)/%.mdpp.md | $(BUILD_SLIDES_DIR) .marp/theme.css
|
$(BUILD_SLIDES_DIR)/%.pdf: $(CACHE_SLIDES_DIR)/%.mdpp.md | $(BUILD_SLIDES_DIR) .marp/theme.css
|
||||||
npx marp --allow-local-files \
|
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)
|
merge-slides: $(SLIDES_MDPP_MD) $(SLIDES_MD_ALL)
|
||||||
|
|
||||||
build-docs: ## build static docs site only
|
build-docs: ## build static docs site only
|
||||||
$(MAKE) tocupdate
|
#$(MAKE) tocupdate
|
||||||
mkdir -p $(BUILD_DOCS_DIR)
|
mkdir -p $(BUILD_DOCS_DIR)
|
||||||
pipenv run mkdocs build \
|
pipenv run mkdocs build \
|
||||||
--site-dir $(BUILD_DOCS_DIR)
|
--site-dir $(BUILD_DOCS_DIR)
|
||||||
|
|
Loading…
Reference in a new issue