mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-05-14 05:41:29 +00:00
Marp-based markdown deck walking through the three-layer production topology (masters, volumes, filers + DB, S3 gateways, admin + workers) plus an erasure-coding note. Uses the object-store-layout diagram on the overview slide. Makefile renders PDF/HTML/PPTX via marp-cli.
32 lines
531 B
Makefile
32 lines
531 B
Makefile
MARP ?= npx @marp-team/marp-cli
|
|
SRC := seaweedfs-production-setup.md
|
|
PDF := $(SRC:.md=.pdf)
|
|
HTML := $(SRC:.md=.html)
|
|
PPTX := $(SRC:.md=.pptx)
|
|
FLAGS := --allow-local-files
|
|
|
|
.PHONY: all pdf html pptx watch clean
|
|
|
|
all: pdf
|
|
|
|
pdf: $(PDF)
|
|
|
|
html: $(HTML)
|
|
|
|
pptx: $(PPTX)
|
|
|
|
$(PDF): $(SRC)
|
|
$(MARP) $(SRC) --pdf $(FLAGS) -o $@
|
|
|
|
$(HTML): $(SRC)
|
|
$(MARP) $(SRC) --html $(FLAGS) -o $@
|
|
|
|
$(PPTX): $(SRC)
|
|
$(MARP) $(SRC) --pptx $(FLAGS) -o $@
|
|
|
|
watch:
|
|
$(MARP) $(SRC) --watch --html $(FLAGS)
|
|
|
|
clean:
|
|
rm -f $(PDF) $(HTML) $(PPTX)
|