diff --git a/doc/py_api.rst b/doc/py_api.rst
index 46f6f7174c3a1b736e428632a87da13fd0580c21..47fdfaab8236b008e4121d92db9528bfdd4da6ff 100644
--- a/doc/py_api.rst
+++ b/doc/py_api.rst
@@ -46,8 +46,8 @@ Please note that this is not part of the default ``bob.io.base`` API, so in orde
 Details
 -------
 
-.. automodule::
-   bob.io.base
+.. automodule:: bob.io.base
+   :inherited-members:
 
-.. automodule::
-   bob.io.base.test_utils
+
+.. automodule:: bob.io.base.test_utils