- Settings
- Global Settings (layout.json)
Settings
Global Settings (layout.json)
Docsalot gives you complete control over the look and feel of your documentation using the layout.json file
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
The name of your project, organization, or product.
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 of your site for SEO and AI indexing.
Set your logo for both light and dark mode.
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
Thumbnail customization for social media and page previews.
Visual styling configurations.
Icon library settings.
Set custom fonts for your documentation. The default font varies by theme.
Light/dark mode toggle settings.
Background color and decoration settings.
Structure
Navigation bar items to external links.
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.
Customizes the default documentation tab. When you configure tabs, this default tab appears first and points to your documentation root.
Top-level header tabs for major documentation areas. Tabs are useful for separating product docs, guides, API reference, SDKs, or other large sections.
User interaction settings for navigation elements.
Metadata configuration for documentation pages.
Footer content and social media links.
Site-wide banner displayed at the top of pages.
Redirects for moved, renamed, or deleted pages.
Contextual menu for AI-optimized content and integrations.
API Configurations
API documentation and interactive playground settings.
SEO and search
SEO indexing configurations.
Search display settings.
Integrations
Third-party integrations.
Errors
Error handling settings.
Example layout.json
Click on the following dropdown to view a sample configuration file