PYTHON="" BASH=/usr/bin/bash UNAME=$(shell uname) ifeq ($(UNAME), Darwin) PYTHON=python3 endif ## ------------------ docs ------------------ ## docs-serve: cd docs/_build/html && python -m http.server 9091 docs-build: sphinx-apidoc --module-first --separate -o docs/_autoref/ symconf make -C docs/ html docs-clean: make -C docs/ clean rm -rf docs/_autoref rm -rf docs/_autosummary ## ------------------------------------------ ## ## ------------------ sync ------------------ ## sync: $(BASH) autoconf/sync.sh ## ------------------------------------------ ## ## ----------------- themes ----------------- ## gen-tone4: $(PYTHON) autoconf/gen_theme.py -a kitty -p tone4 set-tone4-light: $(PYTHON) autoconf/set_theme.py -p tone4 -s light -a "*" set-tone4-dark: $(PYTHON) autoconf/set_theme.py -p tone4 -s dark -a "*" ## ------------------------------------------ ##