summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-domain-py/module_option.rst
diff options
context:
space:
mode:
Diffstat (limited to 'tests/roots/test-domain-py/module_option.rst')
-rw-r--r--tests/roots/test-domain-py/module_option.rst25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/roots/test-domain-py/module_option.rst b/tests/roots/test-domain-py/module_option.rst
new file mode 100644
index 0000000..1dec2ce
--- /dev/null
+++ b/tests/roots/test-domain-py/module_option.rst
@@ -0,0 +1,25 @@
+module_option
+=============
+
+.. py:class:: B
+ :module: test.extra
+
+ This is also a test.
+
+
+ .. py:method:: B.baz()
+ :module: test.extra
+
+ Does something similar to :meth:`foo`.
+
+
+ .. py:method:: B.foo()
+ :module: test.extra
+
+ Does something.
+
+
+ .. py:method:: B.test()
+ :module: test.extra
+
+ Does something completely unrelated to :meth:`foo`