add sphinx document for fitting