working on path docs...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-08-17 17:27:31 +03:00
parent 48fdb88f75
commit 3ac05f6ae1
2 changed files with 20 additions and 16 deletions

2
bootstrap.js vendored

File diff suppressed because one or more lines are too long

View File

@ -61,25 +61,29 @@ XXX motivation...
For path `Path/To/Page` the following paths are checked in order For path `Path/To/Page` the following paths are checked in order
and the first matching page is returned: and the first matching page is returned:
- **`Path/To/Page`** - _Check path as-is then go up:_
- `Path/Page` - `Path/To/Page`
- `Page` - `Path/Page`
- **`Path/To/Templates/Page`** _(Check in Templates)_ - `Page`
- `Path/Templates/Page` - _Check in `Templates`, in path and up:_
- `Templates/Page` - `Path/To/Templates/Page`
- **`System/Page`** _(Check in `/System`, mote that only root `/System` is checked)_ - `Path/Templates/Page`
- **`Path/To/EmptyPage`** _(Check `EmptyPage`)_ - `Templates/Page`
- `Path/EmptyPage` - _Check root `System`:_
- `EmptyPage` - `System/Page`
- `Path/To/Templates/EmptyPage` - _Check `EmptyPage` in path, then in templates:_
- `Path/Templates/EmptyPage` - `Path/To/EmptyPage`
- `Templates/EmptyPage` _(This is guaranteed to exist)_ - `Path/EmptyPage`
- `EmptyPage`
- `Path/To/Templates/EmptyPage`
- `Path/Templates/EmptyPage`
- `Templates/EmptyPage` _(This is guaranteed to exist)_
**Exceptions:** **Exceptions:**
- `System/settings` is global and _can not be overloaded_. This is done for - `System/settings` is global and _can not be overloaded_ for use as
security reasons. system configuration. This is done for security reasons.