[xs]: fix table of contents generation.