docserver/docs/settings.md

32 lines
830 B
Markdown
Raw Permalink Normal View History

2024-08-14 17:16:46 +00:00
# Config settings
2024-08-14 17:28:25 +00:00
Most of settings have default values to "/" for paths or "" for text or false for boolean, if are not set properly **DocServer** config loadd will dispplay ain error an will not abort running.
2024-08-14 17:16:46 +00:00
Attributes order does not matter, in case of file path attributes relative path (the ones ending with path") is tried and finally **root_path** valued as root path for values. Pay attention to **cert** and **key** paths
Base layout for example below as **config**:
```text
├── site.toml
├── menu_items.toml
├── serv_paths.toml
└── locales.toml
```
## site.toml
2024-08-14 17:23:58 +00:00
[Site settings](site_settings.md)
2024-08-14 17:16:46 +00:00
## menu_items.toml
2024-08-14 17:23:58 +00:00
[Menu Items settings](menu_items_settings.md)
2024-08-14 17:16:46 +00:00
## serv_paths.toml
2024-08-14 17:23:58 +00:00
[Serv Paths settings](serv_paths_settings.md)
2024-08-14 17:16:46 +00:00
## locales.toml
2024-08-14 17:23:58 +00:00
[Locales settings](locales_settings.md)
2024-08-14 17:16:46 +00:00