forked from premiere/premiere-libtorrent
fix docs makefile to build html by default. fix the reference doc generator to strip TORRENT_FINAL macro
This commit is contained in:
parent
448951af9c
commit
a3526b4660
|
@ -270,7 +270,8 @@ def parse_class(lno, lines, filename):
|
|||
state = 'private'
|
||||
class_type = 'class'
|
||||
|
||||
name = decl.split(':')[0].replace('class ', '').replace('struct ', '').strip()
|
||||
name = decl.split(':')[0].replace('class ', '').replace('struct ', '').replace('TORRENT_FINAL', '').strip()
|
||||
|
||||
|
||||
while lno < len(lines):
|
||||
l = lines[lno].strip()
|
||||
|
|
|
@ -55,15 +55,15 @@ FIGURES = \
|
|||
disk_cache \
|
||||
troubleshooting
|
||||
|
||||
rst: $(TARGETS:=.rst) todo.html
|
||||
|
||||
html: $(TARGETS:=.html) $(FIGURES:=.png) todo.html
|
||||
|
||||
rst: $(TARGETS:=.rst) todo.html
|
||||
|
||||
pdf: $(TARGETS:=.pdf) $(FIGURES:=.eps)
|
||||
|
||||
epub: $(TARGETS:=.epub) $(FIGURES:=.png)
|
||||
|
||||
all: html
|
||||
all: html pdf
|
||||
|
||||
settings.rst: ../include/libtorrent/settings_pack.hpp
|
||||
python gen_settings_doc.py
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 4.6 KiB |
BIN
docs/storage.png
BIN
docs/storage.png
Binary file not shown.
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 6.5 KiB |
Loading…
Reference in New Issue