yaakdoc

Configuration

Every option of yaakdoc.config.json.

Everything is optional. A config file is yaakdoc.config.json (.jsonc, .ts and .js work too) in the project directory. See Project setup.

yaakdoc.config.json
{
  "$schema": "./node_modules/yaakdoc/config.schema.json",
  "branding": {
    "title": "Acme API"
  }
}

The $schema gives you autocomplete and validation in your editor. The schema is published with the yaakdoc package, and on unpkg.

The tables on this page are generated from the same schema that validates your config, so they're always up to date.

Top-level options

Prop

Type

branding

See Branding.

Prop

Type

branding.colors

Prop

Type

branding.fonts

Prop

Type

A path or URL, or an object:

Prop

Type

See Navigation.

Prop

Type

A NavigationItem is a page path (relative to pagesDir, without the extension), a NavigationGroup, or { "api": true }. A tab has tab, icon, pages, groups and api. A NavigationGroup has:

Prop

Type

llms

See LLM-friendly output.

Prop

Type

variables

See Environments and variables.

Prop

Type

filter

Glob patterns over request and folder slugs. See Leaving requests out.

Prop

Type

runInYaak

true, false or an object. See Run in Yaak.

Prop

Type

server

Options of the dev server and preview.

Prop

Type

Extra tags injected into every page's <head>. See Extra head tags.

Prop

Type

On this page