From aefea4fd5eefb38c1466b116fec61748fbd9624a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20H=C3=A4ttasch?= <benjamin.haettasch@fachschaft.informatik.tu-darmstadt.de> Date: Mon, 31 Jul 2023 09:56:23 +0200 Subject: [PATCH] Improve doc generation config Use wildcards, ignore urls files --- docs/conf.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 473f1b4f..d0b7043a 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 -- GitLab