mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-17 00:21:40 +00:00
working on path docs -- simplify!!!
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
761f0137be
commit
48fdb88f75
2
bootstrap.js
vendored
2
bootstrap.js
vendored
File diff suppressed because one or more lines are too long
@ -7,6 +7,7 @@ page nesting or title formatting. But following this style is recommended.
|
||||
XXX write a set of recommendations...
|
||||
|
||||
|
||||
|
||||
## Basic terminology
|
||||
|
||||
**Path**
|
||||
@ -33,6 +34,8 @@ A set of data associated with a _path_.
|
||||
A page is identified by it's path, but this does not require that every
|
||||
sub-path of that path must exist.
|
||||
|
||||
XXX a word about bootstrap pages that can't be deleted...
|
||||
|
||||
|
||||
**WikiWord**
|
||||
XXX
|
||||
@ -40,7 +43,7 @@ XXX
|
||||
|
||||
## Page acquisition
|
||||
|
||||
XXX motivation
|
||||
XXX motivation...
|
||||
|
||||
**Acquisition process:**
|
||||
|
||||
@ -55,21 +58,21 @@ XXX motivation
|
||||
|
||||
**Example:**
|
||||
|
||||
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:
|
||||
|
||||
- **`path/to/page`**
|
||||
- `path/page`
|
||||
- `page`
|
||||
- **`path/to/Templates/page`** _(Check in Templates)_
|
||||
- `path/Templates/page`
|
||||
- `Templates/page`
|
||||
- **`System/page`** _(Check in `/System`, mote that only root `/System` is checked)_
|
||||
- **`path/to/EmptyPage`** _(Check `EmptyPage`)_
|
||||
- `path/EmptyPage`
|
||||
- **`Path/To/Page`**
|
||||
- `Path/Page`
|
||||
- `Page`
|
||||
- **`Path/To/Templates/Page`** _(Check in Templates)_
|
||||
- `Path/Templates/Page`
|
||||
- `Templates/Page`
|
||||
- **`System/Page`** _(Check in `/System`, mote that only root `/System` is checked)_
|
||||
- **`Path/To/EmptyPage`** _(Check `EmptyPage`)_
|
||||
- `Path/EmptyPage`
|
||||
- `EmptyPage`
|
||||
- `path/to/Templates/EmptyPage`
|
||||
- `path/Templates/EmptyPage`
|
||||
- `Path/To/Templates/EmptyPage`
|
||||
- `Path/Templates/EmptyPage`
|
||||
- `Templates/EmptyPage` _(This is guaranteed to exist)_
|
||||
|
||||
|
||||
@ -82,18 +85,26 @@ security reasons.
|
||||
|
||||
## Default pages
|
||||
|
||||
### `Templates/EmptyPage`
|
||||
XXX
|
||||
|
||||
### `Templates/EmptyToDo`
|
||||
|
||||
### `Templates/EmptyOutline`
|
||||
- `Templates/EmptyPage`
|
||||
- `Templates/EmptyToDo`
|
||||
- `Templates/EmptyOutline`
|
||||
|
||||
|
||||
|
||||
## Relative and absolute paths (".", ".." and "/")
|
||||
|
||||
XXX
|
||||
|
||||
|
||||
|
||||
## Path patterns ("\*" and "\*\*")
|
||||
|
||||
XXX
|
||||
|
||||
|
||||
|
||||
## Path actions
|
||||
|
||||
XXX path elements that perform actions on pages but do not actually
|
||||
@ -105,6 +116,8 @@ correspond to actual pages.
|
||||
|
||||
### `$NOW`
|
||||
|
||||
XXX
|
||||
|
||||
_Also see the `\@now()` macro: [Doc/Macros]._
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user