47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# render, triggering this rule for that series.
$(series-html): %.html: %.poly.pm
raco pollen render $@
tidy -quiet -modify -indent --wrap 100 --wrap-attributes no --tidy-mark no $@ || true
index.html: $(core-files) $(html-deps) $(series-html) index.html.pp
raco pollen render index.html
# This target will also rebuild pg2, pg3, etc. as needed
blog-pg1.html: $(core-files) $(html-deps) $(articles-html) blog.rkt
rm -f blog*.html
racket -tm blog.rkt
tidy -quiet -modify -indent --wrap 100 --wrap-attributes no --tidy-mark no blog*.html || true
|
>
|
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# render, triggering this rule for that series.
$(series-html): %.html: %.poly.pm
raco pollen render $@
tidy -quiet -modify -indent --wrap 100 --wrap-attributes no --tidy-mark no $@ || true
index.html: $(core-files) $(html-deps) $(series-html) index.html.pp
raco pollen render index.html
fossil uv add scribbled/site-footer.html
# This target will also rebuild pg2, pg3, etc. as needed
blog-pg1.html: $(core-files) $(html-deps) $(articles-html) blog.rkt
rm -f blog*.html
racket -tm blog.rkt
tidy -quiet -modify -indent --wrap 100 --wrap-attributes no --tidy-mark no blog*.html || true
|
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
--exclude=.fslckout \
--exclude='*.ltx' \
--exclude='*.swp' \
--exclude=.DS_Store \
--exclude='template*.*' \
--exclude=makefile
rm -rf ~/Desktop/publish
scribble: ## Rebuild code documentation and update Fossil repo
scribble --htmls +m --redirect https://docs.racket-lang.org/local-redirect/ code-docs/main.scrbl
fossil uv rm scribbled/*
rm -rf scribbled/*
mv main/* scribbled/
cp code-docs/scribble-iframe.html scribbled/scribble.html
|
>
|
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
--exclude=.fslckout \
--exclude='*.ltx' \
--exclude='*.swp' \
--exclude=.DS_Store \
--exclude='template*.*' \
--exclude=makefile
rm -rf ~/Desktop/publish
fossil uv sync
scribble: ## Rebuild code documentation and update Fossil repo
scribble --htmls +m --redirect https://docs.racket-lang.org/local-redirect/ code-docs/main.scrbl
fossil uv rm scribbled/*
rm -rf scribbled/*
mv main/* scribbled/
cp code-docs/scribble-iframe.html scribbled/scribble.html
|