mirror of
https://github.com/moparisthebest/spdylay
synced 2024-11-11 03:55:04 -05:00
manual: Include enum value in manual
This commit is contained in:
parent
7cc1c73120
commit
c644322d89
@ -123,7 +123,11 @@ def process_enum(infile):
|
|||||||
elif re.match(r'\s*/\*\*\n', line):
|
elif re.match(r'\s*/\*\*\n', line):
|
||||||
member_content = read_content(infile)
|
member_content = read_content(infile)
|
||||||
line = infile.readline()
|
line = infile.readline()
|
||||||
member_name = line.split()[0]
|
items = line.split()
|
||||||
|
member_name = items[0]
|
||||||
|
if len(items) >= 3:
|
||||||
|
member_content.insert(0, '(``{}``) '\
|
||||||
|
.format(items[2].rstrip(',')))
|
||||||
members.append((member_name, member_content))
|
members.append((member_name, member_content))
|
||||||
elif line.startswith('}'):
|
elif line.startswith('}'):
|
||||||
enum_name = line.rstrip().split()[1]
|
enum_name = line.rstrip().split()[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user