mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Er, fix tabledoc
This commit is contained in:
parent
19d7335399
commit
e71043ae14
1 changed files with 6 additions and 4 deletions
|
@ -183,8 +183,9 @@ def generate_columns(cls, remaining_attrs):
|
||||||
else:
|
else:
|
||||||
yield column_header(c, name) + ':'
|
yield column_header(c, name) + ':'
|
||||||
yield u''
|
yield u''
|
||||||
yield u' ' + unicode(c.__doc__)
|
if c.doc:
|
||||||
yield u''
|
yield u' ' + unicode(c.doc)
|
||||||
|
yield u''
|
||||||
|
|
||||||
@with_header(u'Internationalized strings')
|
@with_header(u'Internationalized strings')
|
||||||
def generate_strings(cls, remaining_attrs):
|
def generate_strings(cls, remaining_attrs):
|
||||||
|
@ -198,8 +199,9 @@ def generate_strings(cls, remaining_attrs):
|
||||||
yield column_header(c, cls.__name__,
|
yield column_header(c, cls.__name__,
|
||||||
translation_class.__table__.name)
|
translation_class.__table__.name)
|
||||||
yield u''
|
yield u''
|
||||||
yield u' ' + unicode(c.__doc__)
|
if c.doc:
|
||||||
yield u''
|
yield u' ' + unicode(c.doc)
|
||||||
|
yield u''
|
||||||
|
|
||||||
@with_header(u'Relationships')
|
@with_header(u'Relationships')
|
||||||
def generate_relationships(cls, remaining_attrs):
|
def generate_relationships(cls, remaining_attrs):
|
||||||
|
|
Loading…
Reference in a new issue