From ca98f3fde886dbf9d602233a0a9af17e69dcec2f Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Mon, 21 Oct 2019 11:11:24 +0200 Subject: [PATCH] Exclude tests from apidoc it is not only useless to an end user but it also includes random/non-deterministic contents. This change makes the build reproducible. See https://reproducible-builds.org/ for why this is good. Change-Id: Ie40178da80161839379aa9762cd7a5361b44953b --- doc/source/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/source/conf.py b/doc/source/conf.py index 98e8907..ec459ef 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -92,3 +92,4 @@ latex_documents = [ # -- sphinxcontrib.apidoc configuration -------------------------------------- apidoc_module_dir = '../../oslo_reports' apidoc_output_dir = 'reference/api' +apidoc_excluded_paths = ['tests']