Contributing to Fragnet Wiki
We welcome contributions from the community! Whether you're fixing a typo, improving existing documentation, or adding new guides, your help is appreciated.
Getting Started
Prerequisites
Setup (WSL/Linux)
-
Fork the repository
Go to github.com/FragnetNetwork/docs and click the "Fork" button.
-
Clone your fork
git clone https://github.com/YOUR_USERNAME/docs.git
cd docs -
Install dependencies
yarn install -
Start the development server
yarn startThe site will be available at
http://localhost:3000. Changes you make will automatically reload.
Making Changes
File Structure
docs/- All documentation files (Markdown)docs/games/- Game-specific documentationdocs/control-panel/- Control panel documentationdocs/billing/- Billing and payment guidesdocs/FAQ/- Frequently asked questions
Creating a New Page
- Create a new
.mdfile in the appropriate directory - Add frontmatter at the top:
---
title: Your Page Title
keywords: ['keyword1', 'keyword2']
--- - Write your content using Markdown
- Add your page to
sidebars.js(see below)
Adding to the Sidebar
New pages must be added to sidebars.js to appear in the navigation. Open the file and find the appropriate category, then add your page:
{
type: 'category',
label: 'Game Name',
items: [
'games/game-name/existing-article',
'games/game-name/your-new-article' // Add your page here
]
}
The path should match your file location without the .md extension.
Writing Guidelines
- Use clear, concise language
- Include step-by-step instructions with numbered lists
- Add screenshots where helpful (place in
images/subdirectory) - Use code blocks with language tags (
```bash,```json, etc.) - Bold UI elements and button names
Submitting Your Contribution
-
Create a branch
git checkout -b my-contribution -
Commit your changes
git add .
git commit -m "Add guide for X" -
Push to your fork
git push origin my-contribution -
Open a Pull Request
Go to the original repository and click "New Pull Request". Select your fork and branch, then submit.
Get Rewarded
After your contribution is merged, open a support ticket mentioning your GitHub username and the pull request. We offer platform credits as a thank you for quality contributions!