foundry-rs/forge-std

docs: enhance documentation with NatSpec for all public functions

Open

#653 geöffnet am 4. Feb. 2025

Auf GitHub ansehen
 (1 Kommentar) (1 Reaktion) (0 zugewiesene Personen)Solidity (499 Forks)user submission
documentationhelp wanted

Repository-Metriken

Stars
 (1.041 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 12m) (3 gemergte PRs in 30 T)

Beschreibung

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