π Contributing to the Docs¶
Welcome to our documentation contribution guide! We're excited to have you here.
This guide will help you get started with contributing to our documentation.
Let's make our docs better together! πͺ
π οΈ Setting up the Docs¶
Prerequisites¶
- Git installed on your machine
- Python 3.8 or higher
- A text editor of your choice
Step-by-Step Setup Guide¶
-
Clone the Repository π₯
git clone https://github.com/Significant-Gravitas/AutoGPT.git
-
Install Dependencies π
orpython -m pip install -r docs/requirements.txt
python3 -m pip install -r docs/requirements.txt
-
Start the Development Server π₯
mkdocs serve
- Open your browser and navigate to:
http://127.0.0.1:8000
-
Use
-a localhost:8392
to run on a different port. -
View the Docs π
- Changes will auto-reload in your browser.
π Adding New Content¶
Creating a New Page¶
- Create the File π
- Navigate to
docs/content/
-
Create a new markdown file.
-
Update Navigation πΊοΈ
- Open
mkdocs.yml
-
Add the new file to the
nav
section. -
Verify the Page β
- Run the development server to check changes.
π Quality Checks¶
- Test all links before submitting.
- Follow existing documentation style.
- Use proper Markdown formatting.
- Include code examples where helpful.
π― Submitting Your Contribution¶
Pull Request Process¶
- Create a Branch πΏ
- Use a descriptive name for your branch.
-
Keep changes focused and atomic.
-
Submit PR π
- Fill out the PR template.
- Add screenshots if applicable.
-
Link related issues.
-
Review Process π§΅
- Address reviewer feedback.
- Make requested changes.
- Maintain active communication.
π Best Practices¶
- Keep documentation clear and concise.
- Test all links before submitting.
- Follow existing documentation style.
- Include helpful code examples.
Thank you for contributing to our documentation! β€οΈ Together, we make documentation better for everyone.