mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-18 17:57:11 +03:00
make: site-liverender; add contrib guide to tags
[ci skip]
This commit is contained in:
parent
11ce2aff59
commit
1eb9562204
7
Makefile
7
Makefile
@ -158,6 +158,7 @@ WEBCODEFILES:= \
|
||||
|
||||
DOCSOURCEFILES:= \
|
||||
README.md \
|
||||
CONTRIBUTING.md \
|
||||
$(MANUALSOURCEFILES) \
|
||||
$(COMMANDHELPFILES) \
|
||||
|
||||
@ -631,8 +632,12 @@ quickheap-%: hledgerprof samplejournals \
|
||||
###############################################################################
|
||||
$(call def-help-subheading,DOCUMENTATION: (see also Shake.hs))
|
||||
|
||||
site-liverender: Shake \
|
||||
$(call def-help,site-liverender, update the website html when source files are saved )
|
||||
ls $(DOCSOURCEFILES) | entr ./Shake website
|
||||
|
||||
site-livereload: \
|
||||
$(call def-help,site-livereload, open a browser on the latest site html and reload the page whenever it is saved )
|
||||
$(call def-help,site-livereload, open a browser on the website html and reload the page when it updates )
|
||||
(sleep 1; open http://localhost:8001) &
|
||||
livereloadx -p 8001 --static site/_site
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user