Merge pull request #347 from arvidn/fix-docs

fix docs makefile to build html by default.
This commit is contained in:
Arvid Norberg 2015-12-28 22:57:18 -05:00
commit b7ac7b6270
4 changed files with 5 additions and 4 deletions

View File

@ -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()

View File

@ -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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB