Skip to content

Breadcrumb with multiple linked toc.yml #944

Description

@pascalberger

I've created a documentation only with conceptual documents over different folders with several toc.yml linked together.
This works generally, but at some points down in the TOC the breadcrumb gets "reseted" (meaning it shows only the current page).

My structure looks like this:

\
  docfx.json
  toc.yml
  index.md
  \Folder1
    toc.yml
    index.md
    \Folder2
      \Folder3
        toc.yml
        index.md

Content of \toc.yml is:

- name Folder1
  href: Folder1/

Content of \Folder1\toc.yml is:

- name Introduction1
  href: index.md
- name Folder3
  href: Folder2/Folder3/

Content of \Folder1\Folder2\Folder3\toc.yml is:

- name Introduction3
  href: index.md

Folder1 is now as expected a navigation menu in the horizontal main navigation and links to /Folder1/index.html.
If I move there the breadcrumb is as expected Folder1 / Introduction1 and in the sidebar there are two navigation items:

  • Introduction linking to /Folder1/index.html
  • Folder 2 linking to /Folder1/Folder2/Folder3/index.html

But if I navigate further to /Folder1/Folder2/Folder3/index.html breadcrumb is Folder3
instead of the expected Folder1 / Folder3 / Introduction3.

Is there a way to get the breadcrumb as I would have expected it on this level?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions