diff options
| author | DasIch <dasdasich@googlemail.com> | 2010-03-30 19:39:18 +0000 |
|---|---|---|
| committer | DasIch <dasdasich@googlemail.com> | 2010-03-30 19:39:18 +0000 |
| commit | fb6878056484ac54365ca021ede808f8505595f7 (patch) | |
| tree | 2eaaa6eba3027e805e5f8c621cb4fd6f7a68925a /doc | |
| parent | 44b32787fb0361ad09fabe870ad6e37bd1721f12 (diff) | |
| download | sphinx-fb6878056484ac54365ca021ede808f8505595f7.tar.gz | |
Added a js:data directive/role to describe/refer to global variables/constants.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/domains.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/domains.rst b/doc/domains.rst index 018a8759..602f2e41 100644 --- a/doc/domains.rst +++ b/doc/domains.rst @@ -557,6 +557,11 @@ The JavaScript domain (name **js**) provides the following directives: arguments use square brackets as :ref:`documented <signatures>` for Python signatures. +.. directive:: .. js:data:: name + + Describe a global variable or constant. + These roles are provided to refer to the described objects: .. role:: js:func + js:data |
