update Makefile
This commit is contained in:
parent
181c51c9ed
commit
060548df53
8
Makefile
8
Makefile
@ -64,9 +64,13 @@ html: $(HTML_BUILD_DIR)/_static/style.css
|
||||
@echo "Build finished."
|
||||
|
||||
livehtml: SPHINXOPTS += -A collapse_menu=True
|
||||
livehtml: $(HTML_BUILD_DIR)/_static/style.css
|
||||
livehtml:
|
||||
@echo "Starting Live Server..."
|
||||
$(SPHINX_AUTO_BUILD) $(SOURCE_DIR) $(HTML_BUILD_DIR) --port=8000 --host=0.0.0.0 --watch $(THEME) $(SPHINXOPTS) -c $(CONFIG_DIR) -b html
|
||||
$(SPHINX_AUTO_BUILD) $(SOURCE_DIR) $(HTML_BUILD_DIR) \
|
||||
--port 8000 --host $(SERVER_IP) --watch $(THEME) \
|
||||
--pre-build "python3 -m pysassc $(THEME)/static/style.scss $(HTML_BUILD_DIR)/_static/style.css" \
|
||||
$(SPHINXOPTS) -c $(CONFIG_DIR) -b html
|
||||
|
||||
# To call *after* `make html`
|
||||
# Binary dependencies (Debian): texlive-fonts-recommended texlive-latex-extra
|
||||
# texlive-fonts-extra
|
||||
|
Loading…
Reference in New Issue
Block a user