tableofcontentssandcastleshfb

SHFB presentation style 2022, Toc not visible


I use Sandcastle (SHFB) in this configuration

  1. Plug-ins : content only
  2. Build > Presentation : Default 2022
  3. Help file format : Website

When I look at the after build rendering, the table of contents (Toc) does not appear in the website. If I change 'Default 2022' to 'VS2013' it's OK (the TOC appears on the left). I can't find any settings to change. Is there a way to show the TOC for the 'Default 2022' style ? thks


Solution

  • For "Build > Presentation", using "Default 2022" requires the documentation files hosted on a web server in order to properly load the TOC.

    Instead, you can use "VS2013" (with the same help file format), the TOC would be compiled into the HTML instead, making the web server optional. (However, you still need to host on a web server if you want to expand the TOC items.)