Skip to content

Commit

Permalink
Test exclude methods from autodocs
Browse files Browse the repository at this point in the history
  • Loading branch information
alanakbik committed Dec 20, 2024
1 parent 292aafc commit 951b054
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/api/flair.models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,16 @@ flair.models
:toctree: generated
:nosignatures:
:exclude-members: Module

# Manually exclude specific members from documentation
.. autoclass:: flair.models.EntityMentionLinker
:members:
:exclude-members: Module

.. autoclass:: flair.models.SpanClassifier
:members:
:exclude-members: torch.nn.Module

.. autoclass:: flair.models.TokenClassifier
:members:
:exclude-members: Model

0 comments on commit 951b054

Please sign in to comment.