From a6c1e485010acbdc77584d8a78b6cde8065c0a6c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 7 Jul 2019 14:20:11 +0200 Subject: [PATCH] documentation/python: test for external docs that get unused. Those should print a warning and not affect the output in any way. --- documentation/test_python/content/docs.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/documentation/test_python/content/docs.rst b/documentation/test_python/content/docs.rst index 0161c2ce..930e6494 100644 --- a/documentation/test_python/content/docs.rst +++ b/documentation/test_python/content/docs.rst @@ -16,3 +16,12 @@ .. py:data:: content.CONSTANT :summary: This is finally a docstring for ``content.CONSTANT`` + +.. py:module:: thismoduledoesnotexist + :summary: This docs get unused and produce a warning + +.. py:class:: content.ThisDoesNotExist + :summary: This docs get unused and produce a warning + +.. py:data:: content.THIS_DOES_NOT_EXIST + :summary: This docs get unused and produce a warning -- 2.30.2