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
|
||||
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue