From 3d9e6f0cda32d2e2ce6e349c9b928d524e2bcf99 Mon Sep 17 00:00:00 2001 From: David Rosa Date: Mon, 7 Oct 2019 17:58:39 -0700 Subject: [PATCH] docs: add docs/README.md to the exclude_patterns list This commmit removes "WARNING: document isn't included in any toctree" from build output. Addresses part of #13263. --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 0ee016f262..e0796ae9bc 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -71,7 +71,7 @@ language = None # type: Optional[str] # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. -exclude_patterns = ['_build'] +exclude_patterns = ['_build', 'README.md'] # The reST default role (used for this markup: `text`) to use for all # documents.