docs: add a name mnemonic to every module README and the root modules table
This commit is contained in:
@@ -4,6 +4,8 @@ Layered YAML configuration with per-environment directories, `SUMMER_` environme
|
||||
|
||||
`import "git.golem15.com/golem15/summercms/modules/compass"`
|
||||
|
||||
**Name:** Points you the right way; configuration tells the application how to behave in each environment.
|
||||
|
||||
## Overview
|
||||
|
||||
`compass` is the SummerCMS counterpart of WinterCMS's `config/*.php` files, per-environment config directories, `.env` support and `Config::get('app.name')`. It merges several layers into one tree built on koanf, and every key is read with a dot path such as `app.name`. Plugin defaults live under the bare plugin ID (`acme.blog.posts_per_page`) instead of WinterCMS's `acme.blog::posts_per_page`. The generated `main` of an application calls `compass.Load("config")` and hands the result to [backpack](../backpack/README.md); [party](../party/README.md) merges plugin defaults into it during activation.
|
||||
|
||||
Reference in New Issue
Block a user