second pass at sphinx templates