Add a 'folders-exclude' option
Added a 'folders-exclude' option that allows removing selected folders from the directory list sidebar. My motivating example was that removing a single folder from the list using Golang regexes seemed pretty hard, so this is a better way to do it. The excluded folders list is included in the man page.
This commit is contained in:
parent
bf16ccde48
commit
e1c2b596dc
3 changed files with 43 additions and 14 deletions
|
@ -376,6 +376,13 @@ Note that many of these configuration options are written for you, such as
|
|||
|
||||
Default: all folders
|
||||
|
||||
*folders-exclude*
|
||||
Specifies the comma separated list of folders to exclude from the sidebar.
|
||||
Names prefixed with ~ are interpreted as regular expressions.
|
||||
Note that this overrides anything from *folders*.
|
||||
|
||||
Default: no folders
|
||||
|
||||
*folders-sort*
|
||||
Specifies a comma separated list of folders to be shown at the top of the
|
||||
list in the provided order. Remaining folders will be sorted alphabetically.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue