Contributing to the Documentation
This guide outlines how to contribute to the project documentation. We appreciate your help in making our documentation clear, accurate, and comprehensive!
Contribution Guidelines
Please adhere to the following guidelines when contributing:
- Use the Template: A template ensures consistency across all function documentation. You can find the template here.
- Clear and Correct English: Please use proper English grammar and spelling. Avoid slang and profanity.
- Descriptive Pull Requests: When submitting a pull request, clearly explain the changes you've made in the title and description. Be specific about what you've added, modified, or removed.
- Document What You Know: Only document functions you are familiar with. Accuracy is paramount. Double-check your work to avoid introducing errors.
Editing Existing or Adding Documentation
You can contribute by editing existing pages or adding new ones directly through our GitHub repository.
Prerequisites
- GitHub Account: You'll need a GitHub account.
- New to GitHub? Check out the official GitHub documentation for tutorials and guidance.
- Markdown Basics: A basic understanding of Markdown is required for formatting.
Adding Documentation for a New Function
Here's a step-by-step guide to adding documentation for a function that doesn't already have a page:
Check
undone.md
: Before you start, check theundone.md
file in the repository to ensure that nobody else is already documenting the function. This prevents duplicate effort.- Example: You want to document the function
$botCount
.
- Example: You want to document the function
Fork the Repository: Create your own copy of the repository by forking it.
Create a New File: In your forked repository, navigate to the appropriate folder (usually
guide
) and create a new file named after the function, using the.md
extension.- Example: Create a file named
botCount.md
.
- Example: Create a file named
Use the Template and Populate It: Use the template as a starting point. Fill in the template with accurate and detailed information about the function. You can also refer to existing function documentation files for inspiration.
Save and Commit: Save your changes and commit them to your forked repository with a descriptive commit message.
Update
undone.md
: Go toundone.md
and move the function name from theundone
list to thedone
list. This indicates that the documentation is complete.Create a Pull Request: Once you've completed all your changes (adding/changing documentation for one or more functions), create a pull request from your forked repository to the main repository. We will review your pull request.
Need Help?
For any additional information or assistance, please contact a moderator or developer in our Discord server!