From 7e2251782142d11230c8bf9cd04d35e8761c6335 Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Wed, 20 May 2020 11:54:18 +1000 Subject: [PATCH] Remind about `:orphan:` in 404.rst, to silence build warnings --- docs/configuration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration.rst b/docs/configuration.rst index d4794da..56f5398 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -21,7 +21,7 @@ For other use cases, you can customize these configuration options in your ``con Type: dict - Notes: If you prefer, you can create a file called ``404.rst`` and use reStructuredText to create the context of your ``404.html`` page. + Notes: If you prefer, you can create a file called ``404.rst`` and use reStructuredText to create the context of your ``404.html`` page. Add the ``:orphan:`` `metadata `__ to the top of ``404.rst``, to silence the spurious ``document isn't included in any toctree`` warning. .. confval:: notfound_pagename