docs: add missing options to component and page type plugin documentation

- Graph: add focusOnHover and numeric defaults for all D3Config options
- Search: add enablePreview and fieldPriority options
- TableOfContents: add layout component option
- FolderPage: add showFolderCount and showSubfolders options
- TagPage: add numPages option
- BasesPage: add linkResolution option
This commit is contained in:
saberzero1
2026-05-22 20:07:48 +02:00
parent f681e871ea
commit 05b79e1d60
6 changed files with 26 additions and 13 deletions

View File

@@ -16,13 +16,20 @@ See [[full-text search]] for detailed usage information.
This plugin accepts the following configuration options:
- `enabled`: Whether to enable full-text search. Defaults to `true`.
- `enablePreview`: Whether to show a preview of the page content in search results. Defaults to `true`.
- `fieldPriority`: An array specifying the priority order for search fields. Defaults to `["title", "content", "tags"]`.
### Default options
```yaml title="quartz.config.yaml"
- source: github:quartz-community/search
enabled: true
options:
enablePreview: true
fieldPriority:
- title
- content
- tags
```
## API