From 6aa5eca108b59bb0f59622a2088c42269e34385c Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Fri, 19 Jul 2013 23:53:57 +0000 Subject: [PATCH] documentation tweaks --- docs/gen_reference_doc.py | 2 +- docs/style.css | 1 - include/libtorrent/utp_stream.hpp | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/gen_reference_doc.py b/docs/gen_reference_doc.py index 1ecc0ee60..b8a4c65a4 100644 --- a/docs/gen_reference_doc.py +++ b/docs/gen_reference_doc.py @@ -277,7 +277,7 @@ def parse_enum(lno, lines, filename): if verbose: print '?? %s' % lines[lno-1] if start_brace > 0 and start_brace == end_brace: - return [{'file': filename, 'name': name, 'values': values}, lno] + return [{'file': filename[11:], 'name': name, 'values': values}, lno] if len(name) > 0: print '\x1b[31mFAILED TO PARSE ENUM\x1b[0m %s\nline: %d\nfile: %s' % (name, lno, filename) diff --git a/docs/style.css b/docs/style.css index 60b87d8f2..90ef3ce50 100644 --- a/docs/style.css +++ b/docs/style.css @@ -110,7 +110,6 @@ dt { line-height: 1.2em; color: #315586; color: #000; - font-family: Tahoma; font-weight: bold; } diff --git a/include/libtorrent/utp_stream.hpp b/include/libtorrent/utp_stream.hpp index 8d3118a63..923800b94 100644 --- a/include/libtorrent/utp_stream.hpp +++ b/include/libtorrent/utp_stream.hpp @@ -118,7 +118,7 @@ namespace libtorrent */ - enum type { ST_DATA = 0, ST_FIN, ST_STATE, ST_RESET, ST_SYN, NUM_TYPES }; + enum { ST_DATA = 0, ST_FIN, ST_STATE, ST_RESET, ST_SYN, NUM_TYPES }; struct utp_header {