From b9c5018cfbe5296d4eb15f33c43283ad762e8c22 Mon Sep 17 00:00:00 2001
From: Antoine Lambert <anlambert@softwareheritage.org>
Date: Fri, 9 Dec 2022 14:10:10 +0100
Subject: [PATCH] Makefile.sphinx: Fix some apidoc exclude patterns

Django settings modules were no longer filtered out from apidoc
processing when building standalone swh package documentation.
---
 Makefile.sphinx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.sphinx b/Makefile.sphinx
index c8748cdb..3948a475 100644
--- a/Makefile.sphinx
+++ b/Makefile.sphinx
@@ -12,7 +12,7 @@ SPHINX_SRCDIR = .
 # relative to docs/ dir. Hence "." exclude the docs/ dir itself
 APIDOC_EXCLUDES = conftest.py setup.py
 APIDOC_EXCLUDES += */tests/* */migrations/* */wsgi.py */conftest.py
-APIDOC_EXCLUDES += deposit/settings/* web/settings/* dataset/*
+APIDOC_EXCLUDES += */deposit/settings/* */web/settings/* */dataset/*
 APIDOC_EXCLUDES += bin build dist utils node_modules
 APIDOC_SWH_EXCLUDES = $(patsubst %,"../%",$(APIDOC_EXCLUDES))
 
-- 
GitLab