summaryrefslogtreecommitdiff
path: root/tests/roots/test-ext-autodoc/target/module.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2021-05-10 01:49:36 +0900
committerGitHub <noreply@github.com>2021-05-10 01:49:36 +0900
commit98c756b33f413e19d40b21c430ea80d3489ad0d0 (patch)
tree5ce52ed7f7371eb638b148eb9422310a0103e48f /tests/roots/test-ext-autodoc/target/module.py
parent78dbe075a76c040703150efb67d0886efd885d2a (diff)
parentd69c35b1a4facf1a37679ff22eaa6e431c081c69 (diff)
downloadsphinx-git-98c756b33f413e19d40b21c430ea80d3489ad0d0.tar.gz
Merge pull request #9180 from tk0miya/9175_special_member_for_module
Fix #9175: autodoc: Special member is not documented in the module
Diffstat (limited to 'tests/roots/test-ext-autodoc/target/module.py')
-rw-r--r--tests/roots/test-ext-autodoc/target/module.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/roots/test-ext-autodoc/target/module.py b/tests/roots/test-ext-autodoc/target/module.py
new file mode 100644
index 000000000..fe3b490a9
--- /dev/null
+++ b/tests/roots/test-ext-autodoc/target/module.py
@@ -0,0 +1,14 @@
+undocumented = 1
+
+#: docstring
+documented = 1
+
+undoc_annotated: int
+
+#: docstring
+annotated: int
+
+__special__ = 1
+
+#: docstring
+__documented_special__ = 1