Skip to content

Commit

Permalink
Allow NatSpec to apply to Libraries just as Contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
fulldecent authored May 14, 2021
1 parent 324caef commit b2ef1a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/natspec-format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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, interface
``@author`` The name of the author contract, interface
``@notice`` Explain to an end user what this does contract, interface, function, public state variable, event
``@dev`` Explain to a developer any extra details contract, interface, function, state variable, event
``@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
``@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
Expand Down

0 comments on commit b2ef1a4

Please sign in to comment.