Corners
Width
Accent
Headings
Body text
Dark theme
White theme
Mordhau Guides 1.0.0 is here — the guides are stable, and corrections are always welcome.
This site is written by the people who use it. Every page on it started as someone working something out and then taking the time to write it down.
This page is the local setup, start to finish. You do not need any of it to fix a typo or report something that is wrong — contribution methods covers the quicker routes, and none of them involve a terminal. Read the terms and rules before you open a pull request either way.
Required tools has the install notes and the first-run configuration for each of them.
Fork the repository on GitHub, then clone your fork and install:
git clone https://github.com/YOUR-USERNAME/Unofficial-Mordhau-Documentations.git
cd Unofficial-Mordhau-Documentations
npm installStart the development server:
npm run docs:devIt prints the address it is serving on, usually http://localhost:5173. Leave it running — pages reload as you save.
Work on a branch, never on main:
git checkout -b fix-rcon-portsPages live under docs/<language>/, so an English page belongs in docs/en/. A new page also needs an entry in .vitepress/config.mts, or nothing on the site links to it.
How to use Markdown covers the file conventions and the house style. What is VitePress covers the config file and how the project fits together.
npm run docs:buildThe build fails on broken internal links. That is the easiest mistake to make and the easiest one to miss in a preview, so it is worth running even for a one-line change. If it passes, npm run docs:preview serves exactly what the build produced.
git add .
git commit -m "Correct the RCON port numbers"
git push origin fix-rcon-portsGitHub offers to open a pull request from that branch the next time you visit the repository. Say what changed and why.
If the review comes back asking for something, push another commit to the same branch — the pull request updates itself. Once it is merged, Netlify rebuilds and publishes the site, which takes a minute or two.