From 46ef741c9396d15dc2b4d330468ad99b8d5d2e2f Mon Sep 17 00:00:00 2001 From: Kyle Gach Date: Wed, 1 Nov 2023 11:32:47 -0600 Subject: [PATCH] Merge pull request #24649 from storybookjs/fix-indexers-link Docs: Fix links to indexers API (cherry picked from commit f44cdba4e6cd0cf7b9ca5cb832a6e04d0ad08884) --- docs/configure/sidebar-and-urls.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/configure/sidebar-and-urls.md b/docs/configure/sidebar-and-urls.md index 966d928b3fe5..249504a81216 100644 --- a/docs/configure/sidebar-and-urls.md +++ b/docs/configure/sidebar-and-urls.md @@ -162,6 +162,6 @@ When Storybook generates the titles for all matching stories, they'll retain the ### Story Indexers -[Story Indexers](./main-config-indexers.md) are a set of heuristics used by Storybook to crawl your filesystem based on a given glob pattern searching for matching stories, which is then used to generate an `index.json` (formerly `stories.json`) file responsible for populating the sidebar with the necessary information. By default, this heuristic will look for files that contain the following scheme `*.stories.@(js|jsx|mjs|ts|tsx)`. +[Story Indexers](../api/main-config-indexers.md) are a set of heuristics used by Storybook to crawl your filesystem based on a given glob pattern searching for matching stories, which is then used to generate an `index.json` (formerly `stories.json`) file responsible for populating the sidebar with the necessary information. By default, this heuristic will look for files that contain the following scheme `*.stories.@(js|jsx|mjs|ts|tsx)`. -You can provide your own indexer to include stories with a different naming convention, adjust the automatic title generation beyond a prefix, and many other use cases. For more information, see the [Story Indexers API reference](./main-config-indexers.md). +You can provide your own indexer to include stories with a different naming convention, adjust the automatic title generation beyond a prefix, and many other use cases. For more information, see the [Story Indexers API reference](../api/main-config-indexers.md).