Skip to main content
Version: Next

createRouter()

Home > @backstage/plugin-techdocs-backend > createRouter

Warning: This API is now obsolete.

This function is only exported for legacy reasons and will be removed in the future. Please migrate to use the new backend system and follow these instructions to install the user settings backend plugin.

Creates a techdocs router.

Signature:

function createRouter(options: RouterOptions): Promise<express.Router>;

Parameters

Parameter

Type

Description

options

RouterOptions

**Returns:**

Promise<express.Router>