chiark / gitweb /
documentation/python: test for external docs that get unused.
authorVladimír Vondruš <mosra@centrum.cz>
Sun, 7 Jul 2019 12:20:11 +0000 (14:20 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Sun, 7 Jul 2019 14:13:44 +0000 (16:13 +0200)
Those should print a warning and not affect the output in any way.

documentation/test_python/content/docs.rst

index 0161c2ce82f79d31a821476bc30f8ba3b204702e..930e64942781f29e2b08d284a249e9505d20986a 100644 (file)
 
 .. 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