Contribute to Root Sanctum
Thank you for your interest in contributing to Root Sanctum! This knowledge base thrives on community contributions, and we welcome input from everyone.
How to Contribute
1. Report Issues
Found a mistake?
- Visit our GitHub Issues
- Create a new issue describing what you found
- We'll review and fix it as soon as possible
2. Suggest New Content
Have an idea for a new topic or section?
- Open a GitHub Discussion
- Describe the topic and why it would be valuable
- The community can discuss and refine the idea
3. Submit Content
Ready to add or improve content?
Easy Method (For Small Changes):
- Find the page you want to edit
- Click "Edit this page" (if available) or go to GitHub
- Make your changes
- Submit a pull request
Advanced Method (For Larger Contributions):
- Fork the Root Sanctum repository
- Clone your fork locally
- Create a new branch for your changes
- Make your edits
- Commit and push your changes
- Open a pull request
Content Guidelines
Writing Style
- Clear & Concise - Use simple language and avoid jargon when possible
- Well-Structured - Use headings, lists, and sections appropriately
- Accurate - Ensure information is correct and up-to-date
- Examples - Include practical examples when relevant
- Neutral Tone - Keep content objective and informative
Formatting
# Main Heading (H1) - Page title
## Section Heading (H2) - Major sections
### Subsection Heading (H3) - Subsections
#### Sub-subsection (H4) - Details
- Use bullet points for lists
- Keep paragraphs short
- Add code blocks with proper syntax highlightingContent Structure
Each topic page should include:
- Introduction - Brief overview of the topic
- Main Content - Organized into logical sections
- Examples - Practical demonstrations (when applicable)
- Resources - Links to further reading (optional)
Style Conventions
Code Blocks
Use proper syntax highlighting:
```javascript
function example() {
console.log("Hello, Root Sanctum!");
}
```Links
- Internal links:
/technology/programming - No
.htmlextension - Use descriptive link text
Images
- Place images in
/docs/public/images/ - Use descriptive filenames
- Add alt text for accessibility
Contribution Checklist
Before submitting your contribution:
- [ ] Content is accurate and well-researched
- [ ] Spelling and grammar are correct
- [ ] Formatting follows guidelines
- [ ] Links work and use proper format
- [ ] Code examples are tested (if applicable)
- [ ] Content fits within the existing structure
- [ ] Commit message is clear and descriptive
Technical Setup
Prerequisites
- Node.js (v16 or higher)
- PNPM package manager
- Git
Local Development
# Clone the repository
git clone https://github.com/LandWarderer2772/root-sanctum.git
cd root-sanctum
# Install dependencies
pnpm install
# Start development server
pnpm docs:dev
# Build for production
pnpm docs:build
# Preview production build
pnpm docs:previewThe site will be available at http://localhost:5173
Project Structure
root-sanctum/
├── docs/
│ ├── .vitepress/
│ │ ├── config.mts # Site configuration
│ │ └── theme/ # Custom theme
│ ├── technology/ # Technology category
│ ├── science/ # Science category
│ ├── humanities/ # Humanities category
│ ├── life-skills/ # Life Skills category
│ ├── miscellaneous/ # Miscellaneous category
│ ├── index.md # Homepage
│ ├── guide.md # Beginners guide
│ ├── posts.md # Blog posts
│ └── contribute.md # This page
├── package.json
└── README.mdPriority Areas
We especially welcome contributions in these areas:
High Priority
- Beginner-Friendly Tutorials - Make complex topics accessible
- Code Examples - Practical, working examples
- Diagrams & Visuals - Help explain complex concepts
- Real-World Applications - Show how concepts apply in practice
Always Welcome
- Fixing typos and grammar
- Improving explanations
- Adding missing information
- Updating outdated content
- Enhancing code examples
Community Guidelines
Be Respectful
- Treat all contributors with respect
- Welcome newcomers and help them learn
- Give constructive feedback
- Celebrate contributions from others
Be Collaborative
- Work together to improve content
- Discuss changes and ideas openly
- Accept feedback gracefully
- Help review others' contributions
Be Patient
- Understand that reviews take time
- Be willing to make revisions
- Ask questions if unclear
- Help others when you can
Get in Touch
Have questions about contributing?
- GitHub Discussions - For general questions and ideas
- GitHub Issues - For specific problems or bugs
- Pull Requests - For submitting contributions
Recognition
All contributors are valued and appreciated! Your contributions help build a better learning resource for everyone.
Contributors are recognized:
- In commit history on GitHub
- In the project's contributors list
- Through community acknowledgment
License
By contributing to Root Sanctum, you agree that your contributions will be licensed under the same license as the project.
Ready to Contribute?
- Browse the existing content to understand the style
- Choose what you want to work on
- Follow the contribution process
- Submit your contribution
- Respond to any feedback
Thank you for helping make Root Sanctum better!
Every contribution, no matter how small, makes a difference. We appreciate your support!