docserver/docs/settings.md

32 lines
848 B
Markdown
Raw Normal View History

2024-08-14 17:16:46 +00:00
# Config settings
Most of settings have default values to "/" for paths or "" for text or false for boolean, if are not set properly {{#include ../globaldefs.md:3}} config loadd will dispplay ain error an will not abort running.
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