A better version of the Luarmor documentation
- MDX 99%
- Nix 1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/workflows | ||
| api-reference | ||
| features | ||
| images | ||
| logo | ||
| scripting | ||
| snippets | ||
| troubleshooting | ||
| .gitignore | ||
| discord-bot.mdx | ||
| docs.json | ||
| favicon.png | ||
| flake.lock | ||
| flake.nix | ||
| introduction.mdx | ||
| mint.json | ||
| quickstart.mdx | ||
| README.md | ||
Luarmor Documentation
The source for the Luarmor documentation, built with Mintlify.
Structure
| Path | Contents |
|---|---|
mint.json |
Site config: navigation, tabs, redirects, colours |
introduction.mdx, quickstart.mdx |
Getting started |
discord-bot.mdx, features/ |
Feature guides (Discord bot, ad rewards, webhook protection, source locker) |
scripting/ |
Writing scripts for Luarmor: optimisation, macros, runtime variables, key check library, verification |
troubleshooting/ |
Help for script users and script owners, plus common scams |
api-reference/ |
API tab: introduction, SDKs, and one page per endpoint under endpoint/ |
api-reference/openapi.json |
OpenAPI spec for the HTTP API |
snippets/ |
Reusable MDX snippets imported by pages |
images/ |
Screenshots, referenced as /images/<name> |
Development
Install the Mintlify CLI:
npm i -g mintlify
Then, from the root of this repository (where mint.json is), run:
mintlify dev
The site is served at http://localhost:3000. Run mintlify broken-links before opening a pull request.
Adding a page
- Create an
.mdxfile with atitleanddescriptionin its frontmatter. Don't add an# H1, as Mintlify renders the title. - Add its path (without
.mdx) to the right group inmint.json'snavigation. - If you move or rename a page, add a
redirectsentry inmint.jsonso old links keep working.
Contributing
Pull requests are welcome. For questions about Luarmor itself, join the Discord server.