finish sphinx document