From 86dd16f91b22f260335af96a2b4ca7bdd7e263d6 Mon Sep 17 00:00:00 2001 From: sjrl <10526848+sjrl@users.noreply.github.com> Date: Tue, 22 Sep 2026 11:14:15 +0000 Subject: [PATCH] Sync Haystack API reference on Docusaurus --- docs-website/reference/haystack-api/skill_stores_api.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs-website/reference/haystack-api/skill_stores_api.md b/docs-website/reference/haystack-api/skill_stores_api.md index ef0d2a86c55..52fef844cf9 100644 --- a/docs-website/reference/haystack-api/skill_stores_api.md +++ b/docs-website/reference/haystack-api/skill_stores_api.md @@ -27,7 +27,7 @@ are read lazily when the agent calls the corresponding tool. #### __init__ ```python -__init__(skills_dir: str | Path) -> None +__init__(skills_dir: str | Path | Secret) -> None ``` Initialize the store with the root directory to scan. @@ -37,7 +37,9 @@ can be constructed cheaply. **Parameters:** -- **skills_dir** (str | Path) – Root directory that contains one sub-directory per skill. +- **skills_dir** (str | Path | Secret) – Root directory that contains one sub-directory per skill. Can also be a `Secret` + (e.g. `Secret.from_env_var("SKILLS_DIR")`) to source the path from an environment variable rather than + hard-coding it. #### warm_up