I have lecture notes in beamer for my classes which I compile into a single document. I put an \end{document} after the last page that I've lectured from on a given day and then post the resulting document. I update this throughout the semester.

The table of contents resulting from this document is of course just the section headings of the document as it appears. However, I would like to include the entire table of contents as a form of course outline that the students can see in advance of a topic being covered, and to keep the page numbers stable. I suppose that the links to future topics must either be inactive or give an error when clicked, and the page numbers blank, but I'd like the titles there.

Is there a way to do this?

-
Welcome to TeX.SX. You can add syntax highlighting to inline code by putting it between  like I did. –  ℝaphink Sep 6 '11 at 13:25
@Raphink: Thanks for the fix –  Liam Sep 7 '11 at 1:27

If you have a final version of the lecture notes, compile them entirely. Then add \nofiles in the preamble, so when you add \end{document} at an earlier place, the table of contents auxiliary file will not be overwritten.