I've been following this guide to build Plutus documentation locally. The key line is -
[~/plutus] nix-build -A plutus-playground.haddock
This works fine, but I'm following the Pioneer Program and this requires checking out specific commits each week in order to follow the lesson. When re-building the documentation, the resulting docs doesn't seem to reflect the tag that I've checked out.
My steps are -
git pull origin master
to get the latest commitsgit checkout
of the tag specified for the week- rebuild the documentation using
nix-build -A plutus-playground.haddock
I'm guessing that there is some caching going on that I'm not cleaning up but, if I compare the source files in the plutus dir they don't match the source that is linked to in the documentation.
Should mention that I have a superficial understanding of both nix and haddock.
Any guidance appreciated :)
docker
, I tried it and it failed when starting it usingdocker-compose
. Have you tried this option? The commands you need aredocker-compose build --no-cache
followed bydocker-compose up
in the/docker
directory.