Fix code-example syntax in documentation

The trailing ``::`` mean that the string ``:file:`volume.pxd`::`` was being treated as the code example and therefore ``cdef float cube(float)`` was simply indented as regular font.