Some checks are pending
Install / Cargo install on ubuntu-latest (push) Waiting to run
32 lines
830 B
Markdown
32 lines
830 B
Markdown
# Config settings
|
|
|
|
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.
|
|
|
|
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
|
|
|
|
[Site settings](site_settings.md)
|
|
|
|
## menu_items.toml
|
|
|
|
[Menu Items settings](menu_items_settings.md)
|
|
|
|
## serv_paths.toml
|
|
|
|
[Serv Paths settings](serv_paths_settings.md)
|
|
|
|
## locales.toml
|
|
|
|
[Locales settings](locales_settings.md)
|
|
|