fix doc references (but they don't work locally and I get 1200 unrelated
warnings)