Skip to content

ResolvedDocsSiteConfig

DocsSiteConfig with every default applied, every path absolute, and the values derived from them.

Import:

import type { ResolvedDocsSiteConfig } from '@mnaoumov/typescript-dev-toolkit/docs-site/docs-site-config';

Signature:

export interface ResolvedDocsSiteConfig

Properties

PropertyTypeDescription
apiDocSettingsApiDocSettingsThe API documentation generator's settings for the site.
basePathstringThe base path, e.g. /typescript-lib.
contentDocsDirectorystringThe documentation content root, <docs>/src/content/docs.
distDirectorystringThe build output folder, <docs>/dist.
docsDirectorystringThe site folder.
docsSourceDirectorystringThe site's source folder, <docs>/src.
editLinkBaseUrlstringThe URL a page's edit link starts with: the repository's edit/main/ tree.
faviconPathstringThe site's SVG logo, <docs>/public/favicon.svg.
githubUrlstringThe repository's GitHub URL.
guidesDirectorystringSee DocsSiteConfig.guidesDirectory.
ogOutputDirectorystringThe folder the Open Graph cards are written to, <docs>/public/og.
ownerstringSee DocsSiteConfig.owner.
packageNamestringThe documented package's name, read from the root package.json.
packageVersionstringThe documented package's version, read from the root package.json.
publicDirectorystringThe site's static folder, <docs>/public.
repostringSee DocsSiteConfig.repo.
repoHomepageRepoHomepageModeSee DocsSiteConfig.repoHomepage.
rootDirectorystringSee DocsSiteConfig.rootDirectory.
siteBaseUrlstringThe absolute URL the site is served from, with a trailing slash.
siteOriginstringSee DocsSiteConfig.siteOrigin.
sourceDirectorystringSee DocsSiteConfig.sourceDirectory.
titlestringSee DocsSiteConfig.title.

Links to this page: