Contributing to the wiki
A step-by-step guide for dummies by @tukkek
Requirements: a web browser.
- If you don’t already have one, create a Github account.
- Login to your new or existing account.
- Clone the wiki repository with the Fork button.
- Now you have your own personal copy to work on, something like
https://github.com/USERNAME/Unfavorable-Semicircle-Wiki/
.
- In your own copy, enter the
docs
directory.
- The wiki pages in this folder are written in Markdown, which you may want to read up on.
- You can edit individual pages by clicking the files and then the
Edit
button (the pencil icon in the top right corner).
- Edit the page’s Markdown manually or copy-paste the file to an online Markdown editor (such as this or this).
- Once you’re done, save the page by adding a “commit message” (short description of your changes to this file) and pressing
Commit changes
- do not choose to create a new branch unless you’re familiar with git workflow.
- Once you have edited one or more files and are ready to share the changes, go back to your repository’s main page (see step #4), hit
Contribute
and then Open pull request
.
- On the next page, hit
Create pull request
, add a title (and optionally a longer description) then click Create pull request
again to finish the process.
- @Heraclitus Akimbo will review, apply and upload the changes, you may consider leaving a courtesy ping on Discord too as a heads-up.
- If you plan to contribute further changes in the future, make sure to synchronize your own version of the wiki with the latest changes from other users before doing any further work of your own:
- In your own copy, hit
Fetch upstream
and then Fetch and merge
.
If you have any questions post them on the Discord’s #skill-share channel.
Other tips + tricks
- github pages doesn’t like spaces in filenames, so if creating a new page or uploading an image, substitute underscores for spaces.