docs: address copilot review feedback

Fix links in viewing-catalog.md and filter-catalog.md to point to
the new frontend system catalog-customization.md instead of the old
guide. Fix the Kubernetes entity content extension ID to use the
correct `entity-content:kubernetes/kubernetes` format. Wrap raw
extension definitions in `createFrontendModule` in search and
scaffolder docs. Correct TechDocs addon installation instructions
to explicitly install addon modules rather than claiming
auto-discovery.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-03-30 12:42:11 +02:00
parent c9132c223c
commit 561f555fb1
7 changed files with 62 additions and 17 deletions
+18 -3
View File
@@ -29,15 +29,30 @@ The plugin provides a docs index page at `/docs` and a reader page for individua
## Using TechDocs Addons
The TechDocs Addon framework lets you render React components in documentation pages. Addons are provided as separate plugin packages that are automatically discovered when installed.
The TechDocs Addon framework lets you render React components in documentation pages. Addons are provided as separate plugin modules.
For example, to add the Report Issue addon:
For example, to add the Report Issue addon, first install the package:
```bash title="From your Backstage root directory"
yarn --cwd packages/app add @backstage/plugin-techdocs-module-addons-contrib
```
Once installed, the addon is automatically active. You can see it in action when you highlight text in your documentation:
Then install the addon module in your app:
```tsx title="packages/app/src/App.tsx"
import { createApp } from '@backstage/frontend-defaults';
import { techDocsReportIssueAddonModule } from '@backstage/plugin-techdocs-module-addons-contrib/alpha';
const app = createApp({
features: [techDocsReportIssueAddonModule],
});
export default app.createRoot();
```
The same package also provides `techDocsExpandableNavigationAddonModule`, `techDocsTextSizeAddonModule`, and `techDocsLightBoxAddonModule`.
You can see the Report Issue addon in action when you highlight text in your documentation:
<!-- todo: Needs zoomable plugin -->