Skip to content

docset.yml doesn't respect order of child folders #173

@bmorelli25

Description

@bmorelli25

Bug

The order of child files is respected, but child folders are always moved to the bottom of the TOC after any standalone files.

Expected

I expect the TOC order to match the children order in docset.yml.

Example

In this file, the "Freeze" folder is the first item under the Migration TOC header.

  - folder: migration
    children:
      - folder: freeze
        children:
          - file: index.md
          - file: codeowner.md
          - file: gh-action.md
      - file: index.md
      - file: guide.md
      - file: file-structure.md
      - file: mapping.md
      - file: tabs.md

However, when rendered, "Documentation Freeze" is the last item in the Migration TOC header:

Image

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions