publish: Scrollspy fixes.

generated from commit 836fa6d1a5a1cb3e2645eb31e8428637eaddc862