finalize directory docs