Fix rst warnings in apex documentation