dotnet / dotnet/docfx

Template "Statictoc" collapses items when combining conceptual and reference information

Open
#4,024 4 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

**DocFX Version Used**: 2.40.10

**Template used**: `statictoc`

**Steps to Reproduce**:

created a combination of conceptual and reference information in left-side nav bar as described in
https://dotnet.github.io/docfx/tutorial/walkthrough/walkthrough_create_a_docfx_project_2.html

**Actual Behavior**:
When selecting an item in the left side bar, navigation to this page takes place, but the tree collapses and the selection is gone.

**Expected Behavior**:
after navigation to the selected item, the tree and the selection should stay intact,
as it does when using the "default" template.

**More Informations**:
- This only happens, when conceptual and reference information are combined.
- If I only have reference information it works fine with statictoc.
- If I use "default" template it also works fine, so I assume my project settings are correct.
- there is no difference if I access it via http: or via file:

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.