Welcome to the BeamMP Docs GitHub Repository. We are glad you are here because this hopefully means you are looking to help the project out by contributing some of your time towards improving this! Please check out the below as this will help you get started.
BeamMP is using Material for MkDocs as its theme. This is a theme for MkDocs. Full documentation can be found at their respective sites.
To help contribute to these docs you can take one of two approaches as set out below:
Editing the raw markdown files is the fastest approach and best for quick edits such as spelling, grammar or new snippets of content. This approach does require a prior knowledge of markdown however as you will need to understand what your contribution will produce.
If this is the approach you wish to take then please follow these steps:
- Click edit on the page you wish to edit.
- Fork the project into your own GitHub account.
- Make the changes you see fit.
- Commit your changes to your fork.
- Raise a pull request against our repository here.
Once you have created your pull request one of the BeamMP Mod Team will review your Pull Request and either approve it or request some changes. If changes were requested and you have completed them we will re-review your Pull Request. Then your changes will be merged into the repository and automatically deployed as part of our continuous integration.
Editing our docs this way will still take a similar approach as in option 1 however you will be able to preview your changes this way.
- Click edit on the page you wish to edit.
- Fork the project into your own GitHub account.
- Clone the project locally.
- Setup Material for MkDocs according to their guide here
- Install the required plugins using the following command:
pip install mkdocs-material mkdocs-git-revision-date-localized-plugin "mkdocs-material[imaging]" mkdocs-static-i18n[material]
- Run
mkdocs serve
to start the live-reloading docs server from where you cloned the fork to. - Make the changes that you see fit.
- Commit your changes to your fork.
- Raise a pull request against our repository here.
mkdocs.yml # The configuration file.
docs/
index.md # The documentation homepage.
... # Other markdown pages, images and other files.
The BeamMP Docs are translated in multiple languages. The current progress of this sits at:
We use GitLocalize for managing this. You can contribute if you wish here: https://gitlocalize.com/repo/9180
The individual language progress is as follows:
Language | Badge |
---|---|
German | |
Spanish | |
French | |
Italian | |
Russian | |
Chinese |
Note
GitLocalize may show some paragraphs as "not translated" while in fact they already are, messing up the whole page.
Please double check if the page is already translated before committing anything!