docs: added Asciidoc support
This commit is contained in:
parent
ff89dd2ded
commit
44be15984f
5 changed files with 155 additions and 130 deletions
18
docs/Makefile
Normal file
18
docs/Makefile
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
ASCIIDOC = asciidoc
|
||||
|
||||
HTML_DOCS = api-notify.html strbuf.html xalloc.html
|
||||
|
||||
ifndef VERBOSE
|
||||
QUIET_ASCIIDOC = @echo ' ' GEN $@;
|
||||
endif
|
||||
|
||||
.PHONY : clean
|
||||
all : $(HTML_DOCS)
|
||||
html : $(HTML_DOCS)
|
||||
|
||||
%.html : %.txt
|
||||
$(QUIET_ASCIIDOC)$(ASCIIDOC) -b xhtml11 -o $@ $<
|
||||
|
||||
clean :
|
||||
$(RM) $(HTML_DOCS)
|
||||
Reference in a new issue