1. Settings
  2. Global Settings (layout.json)

Every Docsalot site needs a layout.json file with the core configuration settings. Learn more about the properties or from an example

​
Properties

This section contains the full reference for the layout.json file.

​
Customizatdion

name
required
string

The name of your project, organization, or product.

colors
required
object

The colors used in your documentation. Colors are applied differently across themes. If you only provide a primary color, it will be used for all color elements.

description
string

Description of your site for SEO and AI indexing.

logo
string or object

Set your logo for both light and dark mode.

favicon
string or object

Path to your favicon file, including the file extension. Automatically resized to appropriate favicon sizes. Can be a single file or separate files for light and dark mode. Example: /favicon.png

thumbnails
object

Thumbnail customization for social media and page previews.

styling
object

Visual styling configurations.

icons
object

Icon library settings.

fonts
object

Set custom fonts for your documentation. The default font varies by theme.

appearance
object

Light/dark mode toggle settings.

background
object

Background color and decoration settings.

​
Structure

navbar
object

Navigation bar items to external links.

navigation
required
array or object

The navigation structure of your content. Most layout.json files use an array of groups and pages. Advanced configurations can also use an object with nested navigation primitives.

topAnchor
object

Customizes the default documentation tab. When you configure tabs, this default tab appears first and points to your documentation root.

tabs
array of object

Top-level header tabs for major documentation areas. Tabs are useful for separating product docs, guides, API reference, SDKs, or other large sections.

interaction
object

User interaction settings for navigation elements.

metadata
object

Metadata configuration for documentation pages.

footer
object

Footer content and social media links.

banner
object

Site-wide banner displayed at the top of pages.

redirects
array of object

Redirects for moved, renamed, or deleted pages.

contextual
object

Contextual menu for AI-optimized content and integrations.

​
API Configurations

api
object

API documentation and interactive playground settings.

seo
object

SEO indexing configurations.

search
object

Search display settings.

​
Integrations

integrations
object

Third-party integrations.

​
Errors

errors
object

Error handling settings.

​
Example layout.json

Click on the following dropdown to view a sample configuration file