view docs/makefile @ 6561:d08590ce067d

topic: also add topic and topic namespace caches to bundlerepository This allows ctx.topic() and ctx.topic_namespace() actually return something when ctx belongs to a bundle repository. This should in theory be safe to just do because we only expose already existing commit extras that we'd get from the repo on pull anyway.
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 29 Sep 2023 16:37:53 -0300
parents 5affbb44f135
children
line wrap: on
line source

SPHINXBUILD ?= python3 -m sphinx -b html

.PHONY: all
all: tutorials/tutorial.rst tutorials/topic-tutorial.rst static/logo-evolve.ico
	$(SPHINXBUILD) . ../html/

tutorials/tutorial.rst: tutorials/tutorial.t test2rst.py
	python3 test2rst.py $<

tutorials/topic-tutorial.rst: tutorials/topic-tutorial.t test2rst.py
	python3 test2rst.py $<

static/logo-evolve.ico: static/logo-evolve.svg
	convert -resize 36x36 $< $@

.PHONY: clean
clean:
	rm -rf ../html
	rm -f static/logo-evolve.ico
	rm -f tutorials/tutorial.rst
	rm -f tutorials/topic-tutorial.rst