The RPC documentation is hosted here:
To update the documentation, edit the relevant godoc comments in the rpc/core directory.
godoc