Try rst2html.py too to render the docs
This commit is contained in:
parent
580307f79e
commit
520870ca2e
@ -1,3 +1,4 @@
|
||||
RST2HTML = $(shell which rst2html || which rst2html.py)
|
||||
RSTCSS = $(shell python -c 'import docutils.writers.html4css1 as m; print m.Writer.default_stylesheet_path')
|
||||
RSTOPTS = --stylesheet-path=style.css,$(RSTCSS) --initial-header-level=2
|
||||
|
||||
@ -10,7 +11,7 @@ all : html
|
||||
html : $(HTML)
|
||||
|
||||
%.html: %.rst style.css
|
||||
rst2html $(RSTOPTS) $< $@
|
||||
$(RST2HTML) $(RSTOPTS) $< $@
|
||||
|
||||
clean:
|
||||
rm -f $(HTML)
|
||||
|
Loading…
x
Reference in New Issue
Block a user