From: Vladimír Vondruš Date: Sun, 7 Jul 2019 12:20:11 +0000 (+0200) Subject: documentation/python: test for external docs that get unused. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=a6c1e485010acbdc77584d8a78b6cde8065c0a6c;p=blog.git documentation/python: test for external docs that get unused. Those should print a warning and not affect the output in any way. --- 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