How To: use the Plutus API Documentation

Playground Server

The haddock documentation can be accessed from the plutus playground website without running it locally at:

https://playground.plutus.iohkdev.io/doc/haddock/

(Optional) Serving docs from a local server

Head to the plutus-apps directory and run nix-shell:

Then while in nix-shell, run the build-and-serve-docs command:

http://0.0.0.0:8002/

The haddock documentation can be accessed at:

http://0.0.0.0:8002/haddock/

How to use the documentation

The plutus documentation is a big static webpage and It includes many modules not directly related with Plutus Contracts, like Plutus Core, Plutus IR or the Playground backend. If you launch haddock from a web server, you can press s to open the search prompt which is super handy to discover unknow functions and to find the module a function is exported from.