chiark
/
gitweb
/
~cjwatson
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
901676a
)
documentation/python: test for external docs that get unused.
author
Vladimír Vondruš
<mosra@centrum.cz>
Sun, 7 Jul 2019 12:20:11 +0000
(14:20 +0200)
committer
Vladimí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
patch
|
blob
|
history
diff --git
a/documentation/test_python/content/docs.rst
b/documentation/test_python/content/docs.rst
index 0161c2ce82f79d31a821476bc30f8ba3b204702e..930e64942781f29e2b08d284a249e9505d20986a 100644
(file)
--- 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