dokuwiki-plugin-childrenpages/README.md

52 lines
1.4 KiB
Markdown
Raw Normal View History

2020-04-02 22:14:46 +00:00
# DokuWiki plugin: Children pages
For each page, this plugin adds children pages in pre-set namespaces, reachable
2020-04-02 22:14:46 +00:00
through links in the page menu.
2020-04-03 21:04:36 +00:00
[![thumbnail]][screenshot]
2023-10-09 08:49:34 +00:00
[thumbnail]: https://git.vv221.fr/dokuwiki-childrenpages/plain/img/thumbnail.png
[screenshot]: https://git.vv221.fr/dokuwiki-childrenpages/plain/img/screenshot.png
2020-04-03 21:04:36 +00:00
## Installation
### Requirements
2020-04-03 19:59:15 +00:00
* `git`
### Current stable version (1.2.1)
Assuming the root directory of your DokuWiki installation is `/srv/dokuwiki`:
```
DOKUWIKI_PATH=/srv/dokuwiki
REPO_URL=https://git.vv221.fr/dokuwiki-childrenpages
git clone --branch 1.2.1 --depth 1 "$REPO_URL" "$DOKUWIKI_PATH/lib/plugins/childrenpages"
```
### Latest development version
2020-04-03 19:59:15 +00:00
Assuming the root directory of your DokuWiki installation is `/srv/dokuwiki`:
```
DOKUWIKI_PATH=/srv/dokuwiki
REPO_URL=https://git.vv221.fr/dokuwiki-childrenpages
2020-04-03 19:59:15 +00:00
git clone --branch master --depth 1 "$REPO_URL" "$DOKUWIKI_PATH/lib/plugins/childrenpages"
```
## Configuration
### Namespaces list
The links to children pages are generated from a list of reserved top level
namespaces. Normal pages should not be created in these namespaces.
This list can be modified in DokuWiki config manager, and defaults to:
```
animation, gameplay, dev, talk
```
## Informations for developers
2020-04-03 19:59:15 +00:00
Up-to-date informations for developers can be found [on the project wiki].
[on the project wiki]: https://forge.dotslashplay.it/vv221/dokuwiki-childrenpages/-/wikis/home