Skip to content

Commit

Permalink
Docs: add some classes missing from API section
Browse files Browse the repository at this point in the history
  • Loading branch information
brechtm committed Oct 13, 2024
1 parent 8530987 commit 3e1944a
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 10 deletions.
27 changes: 26 additions & 1 deletion doc/api/structure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,21 @@ Lists
.. autoclass:: List
:members:

.. autoclass:: ListStyle
:members:

.. autoclass:: ListItem
:members:

.. autoclass:: ListItemStyle
:members:

.. autoclass:: ListItemLabel
:members:

.. autoclass:: ListItemLabelStyle
:members:

.. autoclass:: DefinitionList
:members:

Expand All @@ -40,7 +55,17 @@ Table of Contents
:members:


Adminitions
List of ...
~~~~~~~~~~~

.. autoclass:: ListOfStyle
:members:

.. autoclass:: ListOfEntryStyle
:members:


Admonitions
~~~~~~~~~~~

.. autoclass:: Admonition
Expand Down
8 changes: 4 additions & 4 deletions src/rinoh/reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
MixedStyledTextBase, MixedStyledText, ErrorText)
from .util import NotImplementedAttribute

__all__ = ['Reference', 'ReferenceField', 'ReferenceText', 'ReferenceType',
'ReferencingParagraph', 'ReferencingParagraphStyle',
'Note', 'NoteMarkerBase', 'NoteMarkerByID', 'NoteMarkerWithNote',
'NoteMarkerStyle', 'Field',
__all__ = ['Reference', 'ReferenceStyle', 'ReferenceField', 'ReferenceText',
'ReferenceType', 'ReferencingParagraph', 'ReferencingParagraphStyle',
'Note', 'NoteStyle', 'NoteMarkerBase', 'NoteMarkerByID',
'NoteMarkerWithNote', 'NoteMarkerStyle', 'Field',
'PAGE_NUMBER', 'NUMBER_OF_PAGES', 'SECTION_NUMBER',
'SECTION_TITLE', 'DOCUMENT_TITLE', 'DOCUMENT_SUBTITLE']

Expand Down
8 changes: 4 additions & 4 deletions src/rinoh/structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
from .strings import StringField
from .util import NotImplementedAttribute, itemcount

__all__ = ['Section', 'Heading',
'ListStyle', 'List', 'ListItem', 'ListItemLabel', 'DefinitionList',
__all__ = ['Section', 'Heading', 'ListStyle', 'List', 'ListItem',
'ListItemLabel', 'ListItemLabelStyle', 'DefinitionList',
'Header', 'Footer',
'TableOfContentsSection', 'TableOfContentsStyle', 'TableOfContents',
'ListOfStyle',
'TableOfContentsSection', 'TableOfContents', 'TableOfContentsStyle',
'ListOfStyle', 'ListOfEntry', 'ListOfEntryStyle',
'TableOfContentsEntry', 'Admonition', 'AdmonitionStyle',
'AdmonitionTitleParagraph',
'HorizontalRule', 'HorizontalRuleStyle', 'OutOfLineFlowables']
Expand Down
2 changes: 1 addition & 1 deletion src/rinoh/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from .util import ReadAliasAttribute, INF


__all__ = ['Table', 'TableStyle', 'TableWithCaption',
__all__ = ['Table', 'TableStyle', 'TableWithCaption', 'TableWithCaptionStyle',
'TableSection', 'TableHead', 'TableBody', 'TableRow',
'TableCell', 'TableCellStyle',
'TableCellBorder', 'TableCellBorderStyle',
Expand Down

0 comments on commit 3e1944a

Please sign in to comment.