mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
It is now possible to use the js:function:: directive for methods.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user