source dev-env
topkg build # or brzo -b
odig # Uses a cache in /tmp/odig-cache
cd sample
./setup.sh
eval $(opam env)
./gen.sh
cd ..
topkg run publish
An easy way is to generate a representative docset and then:
mkdir -p $(opam var share)/odig.dev
ln -s $(pwd)/themes $(opam var share)/odig.dev/odoc-theme