Skip to content

Commit 7673171

Browse files
committed
Include a class imported from a public submodule too
1 parent 23d4849 commit 7673171

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Spam
2+
====
3+
4+
.. currentmodule:: sphinx_automodapi.tests.example_module.public
5+
6+
.. autoclass:: Spam
7+
:show-inheritance:

sphinx_automodapi/tests/cases/public_from_private/output/index.rst.automodsumm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
:toctree: api
55

66
Camelot
7-
7+
Spam
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
from ._private import Camelot
2+
from .classes import Spam
23

34
__all__ = [
4-
'Camelot'
5+
'Camelot',
6+
'Spam'
57
]

0 commit comments

Comments
 (0)