Move code documentation to separate file