Anyone is welcome to contribute guides, documentation, video, etc.
Before contributing, make sure you have the following:
- Git: Installed on your local machine.
- Python: Version 3.6 or higher.
- MkDocs: Installed via pip (
pip install mkdocs
). - Text Editor: Any text editor of your choice (e.g., VS Code, Sublime Text).
- Go to the MkDocs website repository on GitHub.
- Click the "Fork" button to create your own copy of the repository.
-
Clone your forked repository to your local machine using Git:
git clone https://github.com/your-username/repository-name.git cd repository-name
-
Create a new branch to work on your changes:
git checkout -b your-branch-name
-
Install the required dependencies by running:
pip install -r requirements.txt
- Open the project in your text editor.
- Edit or add new Markdown files in the
docs
directory. - Update the
mkdocs.yml
configuration file if necessary.
-
Run the MkDocs development server to preview your changes locally:
mkdocs serve
-
Open your browser and go to
http://localhost:8000
to see your changes in real-time.
-
After making sure everything looks good, commit your changes:
git add . git commit -m "Description of the changes you made"
-
Push your changes to your forked repository:
git push origin your-branch-name
- Go to the original repository on GitHub.
- Click "New Pull Request" and select your branch from the dropdown menu.
- Add a meaningful description and submit the pull request.
- Maintain communication and address any feedback from the repository maintainers.
- Once your pull request is approved and merged, your changes will be part of the MkDocs website.