summaryrefslogblamecommitdiff
path: root/README.md
blob: fbd4d125ae34a411b3a5e6085e5282c10a0ee7b4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                                     







                                                                              

                                              

                        


                                                                           




                 
                            
                   



                                          








       

                             

                
                                                         

                                                                   


          
# The Mana World Policies
Contains the legal documents and policies observed by The Mana World.

## Policy files
Policy files are are located in the [policies](policies) directory.
Currently, only Markdown is supported for policy files.

### Front Matter
The Front Matter is a YAML document that defines the properties of the policy.

#### Required properties
- `name`: the full name of the policy
- `description`: a short summary of the policy

#### Optional properties
- `aliases`: an array of path aliases (redirects)
- `ignore`: prevents the policy file from being processed
- `autoupdate`: bindings for [Policybot](https://gitlab.com/evol/policybot)

### Example
```md
---
name: Policy Name
description: A short summary
aliases: [foo, bar]

autoupdate:
  forums: {forum: 1, topic: 69, post: 420}
  wiki: Protected_Wiki_Page
---

# title
content
```

<br>

---

## Generating the static site

### Dependencies
- GNU Make (available in the repos of most linux distros)
- [Deno](https://deno.land) 1.x (can be installed with `make deno`)

```sh
make build
```