Skip to content

Commit 7da89a9

Browse files
committed
Docs
1 parent 5864cf4 commit 7da89a9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/natspec-format.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Documentation Example
3737
=====================
3838

3939
Documentation is inserted above each ``contract``, ``interface``, ``library``,
40-
``function``, and ``event`` using the Doxygen notation format.
40+
``function``, ``enum``, ``enum`` value and ``event`` using the Doxygen notation format.
4141
A ``public`` state variable is equivalent to a ``function``
4242
for the purposes of NatSpec.
4343

@@ -116,13 +116,13 @@ in the same way as if it were tagged with ``@notice``.
116116
=============== ====================================================================================== =============================
117117
Tag Context
118118
=============== ====================================================================================== =============================
119-
``@title`` A title that should describe the contract/interface contract, library, interface, struct, enum
120-
``@author`` The name of the author contract, library, interface, struct, enum
121-
``@notice`` Explain to an end user what this does contract, library, interface, function, public state variable, event, struct, enum, error
122-
``@dev`` Explain to a developer any extra details contract, library, interface, function, state variable, event, struct, enum, error
123-
``@param`` Documents a parameter just like in Doxygen (must be followed by parameter name) function, event, error
124-
``@return`` Documents the return variables of a contract's function function, public state variable
125-
``@inheritdoc`` Copies all missing tags from the base function (must be followed by the contract name) function, public state variable
119+
``@title`` A title that should describe the contract/interface contract, library, interface, struct, enum, enum values
120+
``@author`` The name of the author contract, library, interface, struct, enum, enum values
121+
``@notice`` Explain to an end user what this does contract, library, interface, function, public state variable, event, struct, enum, enum values error
122+
``@dev`` Explain to a developer any extra details contract, library, interface, function, state variable, event, struct, enum, enum values, error
123+
``@param`` Documents a parameter just like in Doxygen (must be followed by parameter name) function, event, enum values, error
124+
``@return`` Documents the return variables of a contract's function function, enum, enum values, public state variable
125+
``@inheritdoc`` Copies all missing tags from the base function (must be followed by the contract name) function, enum, enum values, public state variable
126126
``@custom:...`` Custom tag, semantics is application-defined everywhere
127127
=============== ====================================================================================== =============================
128128

0 commit comments

Comments
 (0)