question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Table of content navigation on site

See original GitHub issue

I wrote up the full details here on SO: http://stackoverflow.com/questions/39112271/docfx-how-to-create-table-of-contents-navigation-on-site but thought I’d repost my issue here, since I can’t find anything about this in the documentation.

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?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

6reactions
superyyrrzzcommented, Aug 25, 2016

Hi @Aaronontheweb , can you try docfx --serve to visit the page from localhost:8080? If you open the local html file directly, the browser may preventing loading some files which will cause the missing navigation bar.

1reaction
superyyrrzzcommented, May 18, 2019

@tommikiviniemi-srs try -t statictoc.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Usable Table of Contents and Navigation Pane
The Nav pane and Outline view are good for jumping around in large documents, I have a 2000+ page document that I use...
Read more >
Use the Navigation pane in Word
In the Navigation pane, select the Headings tab. To go to a heading in your document, click that heading in the Navigation pane....
Read more >
G64: Providing a Table of Contents | Techniques for WCAG ...
There is a distinction between a table of contents and other Navigational elements such as a Navigation Bar or Site Map. A table...
Read more >
How to Make a Table of Contents in Word
The Navigation Pane will appear on the left, with your organized document split into heading appearing under the Headings tab. Navigation Pane ...
Read more >
Adding a Table of Contents - Google Sites
A table of contents is a great way for you to organize your content and an easy way for visitors to navigate your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found