Setting up the dev environment
Getting the documentation ready for you
If you are new to Git and/or Github, welcome! This page should get you started.
Tip
Whenever something is written between double curly brackets ({{ or }}), that means you should replace the entire statement, including brackets.
First time setup
Create a Github account
You can register at: https://github.com/signup
Fork the Github repository
To fork a repository means to create a personal copy to which you can make any changes you want without impacting anyone else. You can fork the documentation repository by either clicking the "Fork" button, or by clicking here. The name you give it does not matter, and is only for your own reference.
Clone the fork
Get the url of the repository fork you just created via the "Code" button and then copying the url shown in the dropdown.
It should look something like: https://github.com/username/reponame.git.
Then, open your computer's terminal at the path you want the code folder to be created. On modern windows versions, you can navigate to where you want it placed in file explorer and right click and press "open in terminal". If that option does not show, you can go there manually by opening your terminal and running:
Starting a new contribution
Make sure that your terminal is at the same path as during the previous section.
Making sure you are updated
If this is your first contribution, this step can be skipped.
Make sure you are on the main branch, and that it is updated. The simplest way of doing this is through the github UI by clicking "sync fork" on your repository. Alternatively, you can run:
git switch main
git pull upstream mainMake a new branch
To keep things clean, you will want to create a new branch to write your contributions to. To do so, run:
git checkout -b docs/{branch name}Actually contributing
When all previous steps are done, you can finally start writing documentation! You probably want to see what your changes look like, to do so run:
npm run devThis will start the development server and show the URL in the terminal. Note, the first time you open up the webpage it will take a while to load, just give it a minute. Any changes you make in your editor will live update on the webpage.
You can now at long last start writing the documentation!