diff --git a/docs/conf.py b/docs/conf.py
index 473f1b4f0da723370054887e389bd6ca4938f4d9..d0b7043a7fbf611239345307f4f19e027187493c 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -57,17 +57,13 @@ autodoc_inherit_docstrings = False
 
 apidoc_module_dir = '../'
 apidoc_output_dir = 'code'
-apidoc_excluded_paths = ['AKDashboard/migrations',
-                         'AKModel/migrations',
-                         'AKOnline/migrations',
-                         'AKPlan/migrations',
-                         'AKScheduling/migrations',
-                         'AKSubmission/migrations',
+apidoc_excluded_paths = ['*/migrations',
                          'AKPlanning/',
                          'manage.py',
                          'docs',
                          'locale',
-                         'Utils'
+                         'Utils',
+                         '*/urls.py',
                          ]
 apidoc_separate_modules = True
 apidoc_toc_file = False