Noverwyn Documentation

Contributing

This documentation is a public repository: github.com/Noverwyn/docs. Every page is a .md file, written in English.

Fix a page#

  1. Click Edit this page at the bottom, or Improve on a native.
  2. GitHub opens the file. Change the text.
  3. Propose the change. It will be reviewed.

Add a page#

Create a .md file in a folder of content/docs. The menu builds itself.

content
├── docs
│   ├── _index.md              ← the home page
│   └── scripting
│       ├── _index.md          ← the "Scripting" section
│       └── zones.md           ← /docs/scripting/zones/
└── natives
    └── zone
        ├── _index.md          ← the ZONE namespace
        └── box.md             ← /natives/zone/box/

File names in lower case, without accents, with dashes.

The header#

---
title: Zones
menu: Zones
weight: 10
description: React when someone enters, leaves or stays somewhere.
---
Field Role
title page title
menu short title for the menu; title by default
weight order in the section, smallest first
description one sentence, for cards and search engines
group group heading in the menu, for top-level sections

Check#

With PHP 8.1 or later:

php -S localhost:8020 -t public public/index.php
php tools/check.php

The second one reports broken links and missing headers.