fix docs avoiding to include a chapter inside another chapter