Fixed docs generation with recent docutils
This commit is contained in:
parent
1439ee2db5
commit
705f216fcf
@ -1,6 +1,5 @@
|
|||||||
RST2HTML = $(shell which rst2html || which rst2html.py)
|
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,html4css1.css --initial-header-level=2
|
||||||
RSTOPTS = --stylesheet-path=style.css,$(RSTCSS) --initial-header-level=2
|
|
||||||
|
|
||||||
HTML = $(patsubst %.rst,%.html,$(wildcard *.rst))
|
HTML = $(patsubst %.rst,%.html,$(wildcard *.rst))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user