dotnet / dotnet/docfx

Breadcrumbs first level missing with statictoc template

Open
#4,746 6 comments 0 reactions 0 assignees View on GitHub
help-wanted template
Dominant language
C#
Stars
4.4k
Forks
890
Avg merge
2h 11m
Merged PRs (30d)
10

Description

**Operation System**: `Windows`

**DocFX Version Used**: 2.43.1

**Template used**: `statictoc`

**Steps to Reproduce**:

1. use https://github.com/docascode/docfx-seed sample project
2. change `docfx.json` to use `statictoc` template
3. `docfx metadata`, `docfx build`, `docfx serve _site`

**Expected Behavior**
Breadcrumbs should look like with `default` template
![breadcrumbs_docfx-seed_default](https://user-images.githubusercontent.com/387395/59554048-f97f0780-8f9d-11e9-8d6b-2142abc0414a.PNG)

**Actual Behavior**:
Breadcrumbs first level is missing and item in navbar is not highlighted
![breadcrumbs_docfx-seed_statictoc](https://user-images.githubusercontent.com/387395/59554061-0ef43180-8f9e-11e9-8acf-1b2b9ef248ef.PNG)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.