🎨 Supports configuring the maximum number of Recent documents to be listed https://github.com/siyuan-note/siyuan/issues/16720

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-12-29 22:24:37 +08:00
parent cde0840bf7
commit 827c7a5bf6
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
27 changed files with 61 additions and 7 deletions

View file

@ -36,6 +36,7 @@ type FileTree struct {
LargeFileWarningSize int `json:"largeFileWarningSize"` // 大文件警告大小单位MB
CreateDocAtTop *bool `json:"createDocAtTop"` // 在顶部创建新文档 https://github.com/siyuan-note/siyuan/issues/16327
Sort int `json:"sort"` // 排序方式
RecentDocsMaxListCount int `json:"recentDocsMaxListCount"` // 最近的文档最大列出数量
}
func NewFileTree() *FileTree {