diff --git a/docs/makefile b/docs/makefile index 89125e7c7..d4987428e 100644 --- a/docs/makefile +++ b/docs/makefile @@ -64,7 +64,7 @@ $(REFERENCE_TARGETS:=.rst):gen_reference_doc.py ../include/libtorrent/*.hpp ../i %.html:%.rst rst2html-2.6.py --template=template.txt --stylesheet-path=style.css --link-stylesheet --no-toc-backlinks $? > $@ - cp $@ $(WEB_PATH)/$@ + rst2html-2.6.py --template=template2.txt --stylesheet-path=style.css --link-stylesheet --no-toc-backlinks $? > $(WEB_PATH)/$@ %.png:%.dot dot -Tpng $? >$@ diff --git a/docs/template2.txt b/docs/template2.txt new file mode 100644 index 000000000..daa443af7 --- /dev/null +++ b/docs/template2.txt @@ -0,0 +1,61 @@ +%(head_prefix)s +%(head)s + + + +%(stylesheet)s + +%(body_prefix)s +