docs: Use sphinx-apidoc library for autodoc generation

This package is used for automatic generation of autodoc
documentation which offers the following advantages:

* the Patrole framework for all modules is always built
  and kept up to date
* it is isolated in its own page layout
* it can still be linked to by other documentation pages
  easily

Change-Id: I101557efe47293f88ee65b99275fdc8424c02e35
diff --git a/doc/source/index.rst b/doc/source/index.rst
index c03aac6..8837f2e 100644
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -60,7 +60,7 @@
 ---------
 
 .. toctree::
-   :maxdepth: 2
+   :maxdepth: 3
 
    framework/overview
    framework/rbac_validation
@@ -68,6 +68,7 @@
    framework/policy_authority
    framework/requirements_authority
    framework/rbac_utils
+   framework/code/modules
 
 Indices and tables
 ==================