Add gen_impact_function_Ddoc and gen_rst to make docs.
update docs