Skip to content

Add a "sort" option to the ToC tree options #117

@eric-g-97477

Description

@eric-g-97477

Context

When glob'ing files to be included in the TOC, it would be nice if their entries would be sorted by title.

Proposal

It would be nice to be able to do:

root: intro
subtrees:
- caption: Subtree Caption
  entries:
  - file: doc1
    subtrees:
    - sort: True
      entries:
        - glob: source-folder/**

and have the appearance of the files referenced by the glob in the TOC be based on titles and sorted.

Tasks and updates

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions