Doc: transform sections into chapters.