--- sidebar_position: 1 sidebar_label: Tutorial --- import TOCInline from '@theme/TOCInline'; import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; # How to contribute This website is a community project. It is fully open-source with the code being available on [Gitea](pathname://https://git.alexbell.de/aleabodo/survival-pi-docs). It means that every member of the community can edit *anything* of the website and contribute to adding new information and posts to it. ## Follow these simple steps to make your first edit ### 1. Create a Gitea Account Ask the server owner (BuildingBrute) to create an account for you on [Gitea](pathname://https://git.alexbell.de/). ### 2. Sign in on Gitea Sign in on [Gitea](pathname://https://git.alexbell.de/) with the credentials given to you. Follow the instructions to set a new password. ### 3. Fork The Survival-Pi Website. *Forking* means copying the code to your own account, so you can edit it. Visit the [repository page](pathname://https://git.alexbell.de/aleabodo/survival-pi-docs/) and click on the `Fork` button on the top-right to create a fork.\ ![Fork]({793A3D76-27B2-4E09-B055-7C649E1926B1}.png) \ Next, click on `Fork Repository` to confirm.\ ![alt text]({6BE92668-57AD-444F-B8A9-CE293A9B77B3}.png) \ After forking, you will be redirected to your local copy of the website code. You are ready for editing! :::tip[Tip] For subsequent edits you can use your forked repository on your profile directly. **You need to create a fork only once with your first edit.** ::: ### 4. Make Your Edit Navigate inside `/docs/` to the corresponding page you want to edit. \ Click the edit button and start editing. \ ![Edit]({A4DE5353-35E8-4E73-A56C-53A2122AA350}.png) :::tip[Tip] Type `#` to make a headline or `**` to make something bold. Check out [this example page](./example-page.md) or [the markdown cheatsheet](pathname://https://www.markdownguide.org/cheat-sheet/) for more details. If you want to add images send them to the server owner and add the following code to where you want the images to be placed: ```markdown ![Pic](/img/placeholder.jpg) ``` ::: ### 5. Save Your Changes Scroll down. \ Fill out the text field with a meaningful explaination of what you changed. \ Click on `Commit Changes`. \ ![Commit]({13A39645-24BB-450E-AAE1-A0EC97E8C0ED}.png) ### 6. Merge Your Changes Into The Main Repository Click `New Pull Request` to request merging your commit into the [main repository](pathname://https://git.alexbell.de/aleabodo/survival-pi-docs/). \ ![Pullrequest]({7B1716AD-AF11-4256-9FB8-EEC5D53FD331}.png) \ The [website](pathname://https://survival-pi.com/) will update with your changes after the server owner accepts your Pull Request.