Update README
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja> git-svn-id: file:///srv/svn/repo/aya/trunk@81 cec141ff-132a-4243-88a5-ce187bd62f94
This commit is contained in:
10
README.md
10
README.md
@@ -54,13 +54,13 @@ subdiretory.
|
|||||||
Everything the extensions prints to [stdout](https://man.freebsd.org/cgi/man.cgi?fd) becomes the value of the
|
Everything the extensions prints to [stdout](https://man.freebsd.org/cgi/man.cgi?fd) becomes the value of the
|
||||||
placeholder.
|
placeholder.
|
||||||
|
|
||||||
Every variable from the content header will be passed via environment variables like `title` becomes `$AYA\_TITLE` and so on.
|
Every variable from the content header will be passed via environment variables like `title` becomes `$AYA_TITLE` and so on.
|
||||||
There are some special variables:
|
There are some special variables:
|
||||||
|
|
||||||
* `$AYA` - a path to the `aya` executable
|
* `$AYA` - a path to the `aya` executable
|
||||||
* `$AYA\_OUTDIR` - a path to the directory with generated files
|
* `$AYA_OUTDIR` - a path to the directory with generated files
|
||||||
* `$AYA\_FILE` - a path to the currently processed markdown file
|
* `$AYA_FILE` - a path to the currently processed markdown file
|
||||||
* `$AYA\_URL` - a URL for the currently generated page
|
* `$AYA_URL` - a URL for the currently generated page
|
||||||
|
|
||||||
## Example of RSS generation
|
## Example of RSS generation
|
||||||
|
|
||||||
@@ -117,7 +117,7 @@ it's an empty string).
|
|||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
The software is distributed under the MIT license.
|
The software is distributed under the MIT/X11 license.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user