docs: update config path examples to use generic folders

Replace hardcoded .obsidian references in exclude pattern examples
with generic 'templates' folder. Config directory location is
user-configurable in Obsidian, so examples should not reference
system directories.

Addresses ObsidianReviewBot feedback for plugin submission.
This commit is contained in:
2025-10-28 19:40:29 -04:00
parent 0d152f3675
commit 0fbc4e352c

View File

@@ -232,7 +232,7 @@ export class ToolRegistry {
excludes: { excludes: {
type: "array", type: "array",
items: { type: "string" }, items: { type: "string" },
description: "Glob patterns to exclude (e.g., ['.obsidian/**', '*.tmp']). Files matching these patterns will be skipped. Takes precedence over includes." description: "Glob patterns to exclude (e.g., ['templates/**', '*.tmp']). Files matching these patterns will be skipped. Takes precedence over includes."
}, },
folder: { folder: {
type: "string", type: "string",
@@ -297,7 +297,7 @@ export class ToolRegistry {
excludes: { excludes: {
type: "array", type: "array",
items: { type: "string" }, items: { type: "string" },
description: "Glob patterns to exclude (e.g., ['.obsidian/**', '*.tmp']). Takes precedence over includes." description: "Glob patterns to exclude (e.g., ['templates/**', '*.tmp']). Takes precedence over includes."
}, },
only: { only: {
type: "string", type: "string",