- Node.js
- Yarn
# install dependencies
$ yarn install
# serve with hot reload at localhost:3000
$ yarn dev
Content is written in Markdown in the /content
directory.
Images and other assets referenced in Markdown documents must be placed
in the /static
directory.
Links to other articles must be absolute, e.g.:
[some link](/features/some-link)
Tip: To replace all relative internal links with absolute ones, regexp-replace
([^!]\[[^\]]+\]\()(?!https)(?!/)([^\)]+)\)
with $1/$2\)
.
To add additional search keywords to a document, write an HTML comment at the beginning:
<!-- some additional keywords -->
Each Markdown document has a header section at the top containing meta information for that document (e.g. the title). Below is a scheme which properties can/must be set:
# Document title, required.
title: Document Title
# Title to use in sidebar. Defaults to title.
sidebarTitle: Home
tags:
# List all abilities that are referenced in this document.
# Used for advanced search. Use lower case names.
abilities:
- hammer
- double jump
- grapple
# If this document is tied to or only applicable to specific
# in-game zones, reference them here.
zones: # Currently unused
- marsh
- pools