cookbook.rst generates api.rst => need to fix test failures