Files
backstage/plugins/search-backend-module-techdocs
github-actions[bot] 9a7cae26c9 Version Packages
2025-07-15 14:26:41 +00:00
..
2025-05-30 14:17:07 -04:00
2025-07-15 14:26:41 +00:00
2025-07-15 14:26:41 +00:00
2025-06-02 17:42:56 -04:00

search-backend-module-techdocs

This package exports a module that extends the search backend to also index techdocs.

Installation

Add the module package as a dependency:

# From your Backstage root directory
yarn --cwd packages/backend add @backstage/plugin-search-backend-module-techdocs

Add the collator to your backend instance, along with the search plugin itself:

// packages/backend/src/index.ts
import { createBackend } from '@backstage/backend-defaults';

const backend = createBackend();
backend.add(import('@backstage/plugin-search-backend'));
backend.add(import('@backstage/plugin-search-backend-module-techdocs'));
backend.start();

You may also want to add configuration parameters to your app-config, for example for controlling the scheduled indexing interval. These parameters should be placed under the search.collators.techdocs key. See the config definition file for more details.