diff --git a/documentation/test_python/content/content/__init__.py b/documentation/test_python/content/content/__init__.py
index 46691793..f5b25bb3 100644
--- a/documentation/test_python/content/content/__init__.py
+++ b/documentation/test_python/content/content/__init__.py
@@ -43,6 +43,11 @@ class Class:
class ClassWithSummary:
"""This class has summary from the docstring"""
+class ClassWithSlots:
+ """This class has slots and those have to be documented externally"""
+
+ __slots__ = ['hello', 'this_is_a_slot']
+
class Enum(enum.Enum):
"""This summary gets ignored"""
diff --git a/documentation/test_python/content/docs.rst b/documentation/test_python/content/docs.rst
index e9303f12..77d63eec 100644
--- a/documentation/test_python/content/docs.rst
+++ b/documentation/test_python/content/docs.rst
@@ -75,6 +75,12 @@
This class has external details but summary from the docstring.
+.. py:property:: content.ClassWithSlots.hello
+ :summary: This is a slot, another is :ref:`this_is_a_slot`
+
+.. py:property:: content.ClassWithSlots.this_is_a_slot
+ :summary: This the **other one**.
+
.. py:enum:: content.Enum
:summary: This overwrites the docstring for :ref:`Enum`, but doesn't
add any detailed block.