summaryrefslogtreecommitdiff
path: root/tests/root/objects.txt
diff options
context:
space:
mode:
authorDasIch <dasdasich@googlemail.com>2010-03-30 21:50:48 +0000
committerDasIch <dasdasich@googlemail.com>2010-03-30 21:50:48 +0000
commita2f5a1835c97ab4bb7c3bdc1b07ee856e41ae670 (patch)
tree63b7ba81434ae0d669b4bef495fde4bc48682496 /tests/root/objects.txt
parente182a1bd745ea888c8a1829a6918459d3ce1f8ee (diff)
downloadsphinx-a2f5a1835c97ab4bb7c3bdc1b07ee856e41ae670.tar.gz
It is now possible to use the js:function:: directive for methods.
Diffstat (limited to 'tests/root/objects.txt')
-rw-r--r--tests/root/objects.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/root/objects.txt b/tests/root/objects.txt
index 37de5f60..00af9101 100644
--- a/tests/root/objects.txt
+++ b/tests/root/objects.txt
@@ -80,6 +80,9 @@ Javascript items
.. js:data:: bar
+.. documenting the method of any object
+.. js:function:: bar.baz()
+
References
==========
@@ -96,6 +99,8 @@ Without target: :c:func:`CFunction`. :c:func:`!malloc`.
:js:func:`foo`
:js:data:`bar`
+:js:func:`bar.baz()`
+:js:func:`bar.baz`
Others