fix: respect geekdocFileTreeSortBy
parameter while creating the toc tree (#771)
This commit is contained in:
parent
1d789048f3
commit
b750f4ab53
3 changed files with 50 additions and 4 deletions
8
exampleSite/data/properties/shortcode-toc-tree.yaml
Normal file
8
exampleSite/data/properties/shortcode-toc-tree.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
properties:
|
||||
- name: sortBy
|
||||
type: string
|
||||
description: |
|
||||
Override the default sort parameter set by [`geekdocFileTreeSortBy`](/usage/configuration/#site-configuration).
|
||||
required: false
|
||||
defaultValue: .Site.Params.geekdocFileTreeSortBy
|
Loading…
Add table
Add a link
Reference in a new issue