Skip to content

Instantly share code, notes, and snippets.

View twschiller's full-sized avatar

Todd Schiller twschiller

View GitHub Profile
@wcooley
wcooley / Makefile.dash
Last active August 6, 2021 07:38
Building 3rd Party Sphinx Docs for Dash
# docs/Makefile.dash
include Makefile
PROJECT_NAME = $(shell python ../setup.py --name)
.PHONY: dashdoc
dashdoc:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) -D 'html_theme=epub' $(BUILDDIR)/dashdoc
doc2dash -A -v -n $(PROJECT_NAME) -d $(BUILDDIR)/ -f -I index.html -j $(BUILDDIR)/dashdoc
@echo
@echo "Build finished. The Docset is in $(BUILDDIR)/$(PROJECT_NAME).docset."