change doc categories to sections