From 8c6d7a547e91ab8e729c0dfeeb58936f80c06a41 Mon Sep 17 00:00:00 2001
From: Antoine Lambert <anlambert@softwareheritage.org>
Date: Thu, 16 Mar 2023 16:03:54 +0100
Subject: [PATCH] docs/devel: Remove swh-dataset from apidoc excludes

It was excluded a couple of years ago as no relevant Python code was
contained in that package but this is no longer the case.
---
 Makefile.sphinx     | 2 +-
 docs/devel/Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.sphinx b/Makefile.sphinx
index dd500dbe..03b277ef 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/*
 APIDOC_EXCLUDES += bin build dist utils node_modules
 APIDOC_SWH_EXCLUDES = $(patsubst %,"../%",$(APIDOC_EXCLUDES))
 
diff --git a/docs/devel/Makefile b/docs/devel/Makefile
index 761f2787..1c429f7b 100644
--- a/docs/devel/Makefile
+++ b/docs/devel/Makefile
@@ -9,7 +9,7 @@ SPHINXAPIDOC = sphinx-apidoc
 APIDOC_DIR = apidoc
 APIDOC_OPTS = --ext-viewcode --separate --no-toc
 APIDOC_EXCLUDES = */tests */migrations */wsgi.py */conftest.py */setup.py
-APIDOC_EXCLUDES += deposit/settings/* web/settings/* dataset/*
+APIDOC_EXCLUDES += deposit/settings/* web/settings/*
 APIDOC_SWH_EXCLUDES = $(patsubst %,"$(SWHPKGDIR)/%",$(APIDOC_EXCLUDES))
 
 all: html
-- 
GitLab