foundry-rs/forge-std

docs: enhance documentation with NatSpec for all public functions

Open

#653 opened on Feb 4, 2025

View on GitHub
 (1 comment) (1 reaction) (0 assignees)Solidity (1,041 stars) (499 forks)user submission
documentationhelp wanted

Description

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

Contributor guide

docs: enhance documentation with NatSpec for all public functions · foundry-rs/forge-std#653 | Good First Issue