generate rst instead of html for reference documentation. This allows for RST markup in comments
This commit is contained in:
@@ -22,11 +22,25 @@ TARGETS = index \
|
||||
running_tests \
|
||||
utp \
|
||||
tuning \
|
||||
hacking
|
||||
hacking \
|
||||
reference \
|
||||
reference-Core \
|
||||
reference-String \
|
||||
reference-Network \
|
||||
reference-Plugins \
|
||||
reference-Create_Torrents \
|
||||
reference-Error_codes \
|
||||
reference-Time \
|
||||
reference-Storage \
|
||||
reference-File \
|
||||
reference-Utility \
|
||||
reference-Bencoding \
|
||||
reference-Alerts \
|
||||
reference-RSS
|
||||
|
||||
FIGURES = read_disk_buffers write_disk_buffers troubleshooting
|
||||
|
||||
html: $(TARGETS:=.html) $(FIGURES:=.png) todo.html reference.html
|
||||
html: $(TARGETS:=.html) $(FIGURES:=.png) todo.html
|
||||
|
||||
pdf: $(TARGETS:=.pdf) $(FIGURES:=.eps)
|
||||
|
||||
@@ -37,7 +51,7 @@ all: html
|
||||
todo.html:gen_todo.py ../src/*.cpp ../include/libtorrent/*.hpp
|
||||
python gen_todo.py
|
||||
|
||||
reference.html:gen_reference_doc.py ../include/libtorrent/*.hpp
|
||||
reference.rst:gen_reference_doc.py ../include/libtorrent/*.hpp
|
||||
python gen_reference_doc.py
|
||||
|
||||
%.epub:%.rst
|
||||
|
Reference in New Issue
Block a user