Writing Guides
Welcome! This page explains how to write a guide and submit it as a GitHub pull request.
Before you start
Section titled “Before you start”- Guides live in
site/src/content/docs/guides/. - Write guides in Markdown or MDX (
.mdor.mdx). - Include frontmatter at the top with
titleanddescription.
Quick template
Section titled “Quick template”---title: Your Guide Titledescription: One-line summary of what readers will learn.---
## Introduction
Explain the context and the goal.
## Steps
1. Step one...2. Step two...
## Examples
Show a minimal, working example.
## Further reading
Link to related classes, reference pages, or external resources.Submit via GitHub UI (no local setup)
Section titled “Submit via GitHub UI (no local setup)”- Open the guides folder on GitHub:
site/src/content/docs/guides - Click “Add file” → “Create new file”.
- Name it like
my-guide-name.md. - Paste the template above and write your content.
- Commit changes and open a Pull Request.
Once merged, your guide will automatically appear under the Guides section in the sidebar.
Submit locally (for larger edits)
Section titled “Submit locally (for larger edits)”git clone https://github.com/LeagueToolkit/lol-meta-wiki.gitcd lol-meta-wikipnpm install
# Create your guide$EDITOR site/src/content/docs/guides/my-guide-name.md
# Preview the sitepnpm generate-dbpnpm devOpen a PR when you’re ready. The site is built with Astro + Starlight and will show an “Edit this page” link on docs pages for quick fixes.
Style tips
Section titled “Style tips”- Prefer short sections and concrete examples.
- Link to classes (under
/classes/) and reference pages when relevant. - Keep titles descriptive and use the
descriptionto set expectations.