Configuration Guide

Complete guide to configuring your AkiraDocs installation.

Core Configuration

Site Configuration

Edit `akiradocs.config.json`:

1{
2    "url": "https://docs.akiradocs.com",
3    "site": {
4        "title": "Your Docs",
5        "description": "Your documentation description"
6    },
7    "branding": {
8        "logo": {
9            "path": "/your_logo.svg",
10            "width": 120,
11            "height": 30,
12            "show": true
13        },
14        "favicon": {
15            "path": "/favicon.png",
16            "show": true
17        }
18    }
19}

Navigation Setup

1{
2    "navigation": {
3        "header": {
4            "items": [
5                { "label": "Docs", "href": "/docs", "icon": "/docs.svg" },
6                { "label": "API", "href": "/api", "icon": "/api.svg" }
7            ]
8        }
9    }
10}

Internationalization

Language Configuration

1{
2    "localization": {
3        "defaultLocale": "en",
4        "fallbackLocale": "en",
5        "locales": [
6            {
7                "code": "en",
8                "name": "English",
9                "flag": "🇺🇸"
10            },
11            {
12                "code": "es",
13                "name": "Español",
14                "flag": "🇪🇸"
15            },
16            {
17                "code": "fr",
18                "name": "Français",
19                "flag": "🇫🇷"
20            },
21            {
22                "code": "de",
23                "name": "Deutsch",
24                "flag": "🇩🇪"
25            }
26        ]
27    },
28     "translation": {
29        "auto_translate": true,
30        "provider": "anthropic",
31        "model": "claude-3-sonnet-20240229",
32        "targetLanguages": ["es", "fr", "de"],
33        "excludedPaths": ["_meta.json"]
34    },
35}