From d86c8dcc4ddb82fcecdd078d4594e8743edfc1a2 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Fri, 10 Jan 2014 05:41:45 +0000 Subject: [PATCH] merged docs makefile from RC_0_16 --- docs/makefile | 2 +- docs/template2.txt | 61 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 docs/template2.txt 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 +
+
+ +
+ +
+ + + + + + +%(body_pre_docinfo)s +%(docinfo)s +%(body)s +
+ +
+ + +%(body_suffix)s