In the Changelog of Dokuwiki Release 2007-06-26, there is the line: TOC now can be separated from the content
but i don't see more information in how to play with this...
This  is the darcs patch which relates to the changelog entry you`ve mentioned. It`s description gives all the information you need. But you have to remove the existing TOC from the content too. I do that in the arctic template by just hiding it with a view lines of CSS and modifying the CSS ids of the self generated TOC to ensure XHTML compliance.