How to Contribute
A comprehensive guide to contributing to our documentation
How to Contribute
Welcome to our contribution guide! This comprehensive document will walk you through everything you need to know about contributing to our documentation, from setup to submission.
Before starting your contribution journey, please familiarize yourself with our code of conduct and contribution guidelines available in the repository.
Quick Start Guide
Fork the repository from admincraft-community/admincraftwiki.
Clone your fork: git clone https://github.com/YOUR-USERNAME/admincraftwiki.git
.
Create a new branch: git checkout -b feature/your-feature-name
.
Make your changes following our documentation guidelines.
Test your changes locally.
Submit a pull request with a clear description of your changes.
Development Environment Setup
Choose your preferred package manager to set up the development environment:
Documentation Components
Interactive Components
Content Enhancement Components
Image Zoom
Enable zoomable images in your documentation:
Inline Table of Contents
Add a table of contents within your content:
Step-by-Step Guides
Create guided tutorials:
Documentation Elements
Callouts
Highlight important information:
Cards
Display content in card format:
Code Blocks
Add syntax-highlighted code examples:
File Structure and Organization
Directory Structure
Meta File Configuration
Each directory should contain a _meta.json
file to define the section structure:
Writing Guidelines
Markdown Conventions
- Use ATX-style headers (
#
for h1,##
for h2, etc.) - Include a single space after header markers.
- Use backticks for inline code and triple backticks for code blocks.
- Use reference-style links for better maintainability.
- Include alt text for all images.
Component Usage Best Practices
-
Headings
- Use sentence case for titles.
- Include descriptive slugs.
- Keep hierarchy logical (don't skip levels)
-
Code Blocks
- Always specify the language.
- Use line highlighting when helpful.
- Include copy buttons for longer snippets.
-
Callouts
- Use appropriate types (info, warning, error)
- Keep content concise.
- Include titles when beneficial.
Pull Request Process
-
Preparation
- Update your fork to the latest upstream changes.
- Run tests locally.
- Ensure all links work.
- Check for spelling and grammar.
-
Submission
- Fill out the pull request template completely.
- Include screenshots for visual changes.
- Link to related issues.
- Add labels as appropriate.
-
Review Process
- Respond to reviewer feedback promptly.
- Make requested changes in new commits.
- Squash commits before final merge.
Documentation Preview
All pull requests automatically generate a preview deployment. Check the PR comments for the preview URL.
Style Guide
Writing Style
- Use active voice.
- Keep sentences concise.
- Break up long paragraphs.
- Use consistent terminology.
- Include examples for complex concepts.
Code Examples
- Follow our coding standards.
- Include comments for clarity.
- Show both basic and advanced usage.
- Provide working examples.
- Include error handling.
Community Guidelines
Code of Conduct
Review our community standards and expectations.
Get Help
Find help with your contributions.
Additional Resources
- Fumadocs Documentation
- Admincraft Wiki Repository
- MDX Documentation
- Next.js Documentation
- Tailwind CSS Documentation
For the latest updates and detailed documentation, always refer to the official Fumadocs documentation.
Need more help? Join our Discord community or open a GitHub discussion.
Last updated on