Skip to content

getNamespaceDirectory

The folder a namespace’s pages are written to.

Import:

import { getNamespaceDirectory } from '@mnaoumov/typescript-dev-toolkit/docs-site/api-doc-text-utils';

Signature:

function getNamespaceDirectory(namespace: string): string

Parameters:

Parameter Type Description
namespace string The type’s namespace.

Returns: string — The folder.