Hello Gav,
Discourse ToC is not yet supported when using page publishing. In the topic below there are a few mentions of this. Hope this helps