32 lines
987 B
Markdown
32 lines
987 B
Markdown
# Wikipress
|
|
Create a wiki like static html page base on markdown files, if the content is a git repro it also show the history.
|
|
|
|
# Install
|
|
Get the last Version and make it executable
|
|
```
|
|
wget https://wikipress.s3.fr-par.scw.cloud/wikipress/wikipress/wikipress
|
|
chmod u+x wikipress
|
|
```
|
|
|
|
|
|
# Content
|
|
Create a foldern with the content of the page, e.g. `/home/foo/mywikipage` and add some MArkedown files. The markdown file contains spme header information in a `key: value` format, than a seperator `---` and than the markdown content. For an example the content of a file look like this:
|
|
|
|
```
|
|
title: Startseite
|
|
order: 10
|
|
---
|
|
## Links
|
|
* [kekskurse.de](https://kekskurse.de/)
|
|
|
|
```
|
|
|
|
# Generate HTML Page
|
|
To generate a HTML Page out of the content you can run wikipress with the `--path` parameter, if the content is not a git repro you also need to add the `--no-git` flag.
|
|
|
|
```
|
|
./wikipress --path /home/foo/mywikipage --no-git
|
|
```
|
|
|
|
# Example
|
|
* [wiki.kekskurse.de](https://wiki.kekskurse.de)
|