mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-17 08:31:38 +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...
|
XXX write a set of recommendations...
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Basic terminology
|
## Basic terminology
|
||||||
|
|
||||||
**Path**
|
**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
|
A page is identified by it's path, but this does not require that every
|
||||||
sub-path of that path must exist.
|
sub-path of that path must exist.
|
||||||
|
|
||||||
|
XXX a word about bootstrap pages that can't be deleted...
|
||||||
|
|
||||||
|
|
||||||
**WikiWord**
|
**WikiWord**
|
||||||
XXX
|
XXX
|
||||||
@ -40,7 +43,7 @@ XXX
|
|||||||
|
|
||||||
## Page acquisition
|
## Page acquisition
|
||||||
|
|
||||||
XXX motivation
|
XXX motivation...
|
||||||
|
|
||||||
**Acquisition process:**
|
**Acquisition process:**
|
||||||
|
|
||||||
@ -55,21 +58,21 @@ XXX motivation
|
|||||||
|
|
||||||
**Example:**
|
**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:
|
and the first matching page is returned:
|
||||||
|
|
||||||
- **`path/to/page`**
|
- **`Path/To/Page`**
|
||||||
- `path/page`
|
- `Path/Page`
|
||||||
- `page`
|
- `Page`
|
||||||
- **`path/to/Templates/page`** _(Check in Templates)_
|
- **`Path/To/Templates/Page`** _(Check in Templates)_
|
||||||
- `path/Templates/page`
|
- `Path/Templates/Page`
|
||||||
- `Templates/page`
|
- `Templates/Page`
|
||||||
- **`System/page`** _(Check in `/System`, mote that only root `/System` is checked)_
|
- **`System/Page`** _(Check in `/System`, mote that only root `/System` is checked)_
|
||||||
- **`path/to/EmptyPage`** _(Check `EmptyPage`)_
|
- **`Path/To/EmptyPage`** _(Check `EmptyPage`)_
|
||||||
- `path/EmptyPage`
|
- `Path/EmptyPage`
|
||||||
- `EmptyPage`
|
- `EmptyPage`
|
||||||
- `path/to/Templates/EmptyPage`
|
- `Path/To/Templates/EmptyPage`
|
||||||
- `path/Templates/EmptyPage`
|
- `Path/Templates/EmptyPage`
|
||||||
- `Templates/EmptyPage` _(This is guaranteed to exist)_
|
- `Templates/EmptyPage` _(This is guaranteed to exist)_
|
||||||
|
|
||||||
|
|
||||||
@ -82,18 +85,26 @@ security reasons.
|
|||||||
|
|
||||||
## Default pages
|
## Default pages
|
||||||
|
|
||||||
### `Templates/EmptyPage`
|
XXX
|
||||||
|
|
||||||
### `Templates/EmptyToDo`
|
- `Templates/EmptyPage`
|
||||||
|
- `Templates/EmptyToDo`
|
||||||
### `Templates/EmptyOutline`
|
- `Templates/EmptyOutline`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Relative and absolute paths (".", ".." and "/")
|
## Relative and absolute paths (".", ".." and "/")
|
||||||
|
|
||||||
|
XXX
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Path patterns ("\*" and "\*\*")
|
## Path patterns ("\*" and "\*\*")
|
||||||
|
|
||||||
|
XXX
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Path actions
|
## Path actions
|
||||||
|
|
||||||
XXX path elements that perform actions on pages but do not actually
|
XXX path elements that perform actions on pages but do not actually
|
||||||
@ -105,6 +116,8 @@ correspond to actual pages.
|
|||||||
|
|
||||||
### `$NOW`
|
### `$NOW`
|
||||||
|
|
||||||
|
XXX
|
||||||
|
|
||||||
_Also see the `\@now()` macro: [Doc/Macros]._
|
_Also see the `\@now()` macro: [Doc/Macros]._
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user