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 masterto get the latest commits
git checkoutof 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 :)