4

I want to create a table of contents that looks like what DocFx has on their official site:

enter image description here

Using the default docfx init command using all of the default values my website looks like this upon build:

enter image description here\

I've tried tampering with the toc.yml files with no such luck. How do I get this kind of navigation, and for that matter the top-level navigation with DocFx?

Aaronontheweb
  • 8,224
  • 6
  • 32
  • 61

1 Answers1

4

Turns out the issue was trying to serve my files locally - security sandboxing prevented some of the JavaScript from running. Worked fine once I used docfx --serve instead.

Aaronontheweb
  • 8,224
  • 6
  • 32
  • 61