Raise 404 if the help file does not exist
Generate IDs for headings