foundry-rs/forge-std

docs: enhance documentation with NatSpec for all public functions

Open

#653 aperta il 4 feb 2025

Vedi su GitHub
 (1 commento) (1 reazione) (0 assegnatari)Solidity (499 fork)user submission
documentationhelp wanted

Metriche repository

Star
 (1041 star)
Metriche merge PR
 (Merge medio 12m) (3 PR mergiate in 30 g)

Descrizione

Related: https://github.com/foundry-rs/book/issues/1303

To do:

Goals:

  • Document all public facing functions with @notice
  • Mark private variables and functions with underscore prefix https://github.com/foundry-rs/forge-std/pull/861
  • Unify layouts to follow common best practices of grouping storage variables
  • Move internal functions up, private functions down
  • Should not modify any user facing function or interface

This will make it easier to autogenerate documentation that we can then load into https://book.getfoundry.sh/reference/forge-std/ and keep it up to date

Guida contributor