generate chapter link