mirror of
https://codeberg.org/openpgp/notes.git
synced 2025-09-10 11:49:40 +02:00
Add make target to rebuild HTML files when markdown changes
Signed-off-by: David Runge <dave@sleepmap.de>
This commit is contained in:
parent
588bd02553
commit
91fea4f45d
1 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,10 @@ help:
|
||||||
html-linkcheck: clean html
|
html-linkcheck: clean html
|
||||||
@$(LYCHEE) "$(BUILDDIR)/html/"*.html
|
@$(LYCHEE) "$(BUILDDIR)/html/"*.html
|
||||||
|
|
||||||
|
# use watchexec to rebuild the HTML whenever a markdown file changes
|
||||||
|
html-watch:
|
||||||
|
@$(WATCHEXEC) --shell bash -e css,md 'make clean html'
|
||||||
|
|
||||||
# spell check all sources
|
# spell check all sources
|
||||||
# NOTE: diagrams are not yet spell checked, but we emit the required changes
|
# NOTE: diagrams are not yet spell checked, but we emit the required changes
|
||||||
codespell:
|
codespell:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue