mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Added a :js:attribute:: directive as well as a :js:attr: role to describe attributes of javascript objects.
This commit is contained in:
@@ -83,6 +83,8 @@ Javascript items
|
||||
.. documenting the method of any object
|
||||
.. js:function:: bar.baz()
|
||||
|
||||
.. js:attribute:: bar.spam
|
||||
|
||||
|
||||
References
|
||||
==========
|
||||
@@ -102,6 +104,8 @@ Without target: :c:func:`CFunction`. :c:func:`!malloc`.
|
||||
:js:func:`bar.baz()`
|
||||
:js:func:`bar.baz`
|
||||
|
||||
:js:attr:`bar.baz`
|
||||
|
||||
|
||||
Others
|
||||
======
|
||||
|
||||
Reference in New Issue
Block a user