A long digital manual needs a reliable table of contents. In Adobe InDesign, assign paragraph styles to the chapter and section headings before generating the contents. A consistent heading structure is easier to maintain than manually typing page numbers.
Use the Table of Contents options to select the relevant heading styles and define the appearance of entries. Regenerate the contents after changing pagination. For a digital PDF, review the export settings for hyperlinks and bookmarks where applicable. Open the exported document and test several entries. Keep the source layout and its linked assets available for future revisions.
For related software information, my website ABDNOVA covers
Adobe InDesign for document publishing.