Update natspec-format.rst

This commit is contained in:
Aditya Kode 2023-05-24 21:43:56 +05:30 committed by Kamil Śliwak
parent 9bce5f91dc
commit 1a1ae5d99e

View File

@ -115,10 +115,10 @@ in the same way as if it were tagged with ``@notice``.
=============== ====================================================================================== =============================
Tag Context
=============== ====================================================================================== =============================
``@title`` A title that should describe the contract/interface contract, library, interface
``@author`` The name of the author contract, library, interface
``@notice`` Explain to an end user what this does contract, library, interface, function, public state variable, event
``@dev`` Explain to a developer any extra details contract, library, interface, function, state variable, event
``@title`` A title that should describe the contract/interface contract, library, interface, structs, enums
``@author`` The name of the author contract, library, interface, structs, enums
``@notice`` Explain to an end user what this does contract, library, interface, function, public state variable, event, structs, enums
``@dev`` Explain to a developer any extra details contract, library, interface, function, state variable, event, structs, enums
``@param`` Documents a parameter just like in Doxygen (must be followed by parameter name) function, event
``@return`` Documents the return variables of a contract's function function, public state variable
``@inheritdoc`` Copies all missing tags from the base function (must be followed by the contract name) function, public state variable