Skip to content
RaGe edited this page Jan 16, 2022 · 7 revisions

Wenblok

Block information displayed in wenblok! come from a file in this repository called blocks.json. You can view the file here

Updating blocks

The blocks.json file has to be kept updated as events occur - such as adding new blocks to track, or removing outdated older blocks.

Only @foragerr has access to change this file directly, but anyone with a github account can propose changes to this file that @foragerr can then accept. The GitHub way to suggest changes is by creating a "Pull Request". Below are the steps to create a Pull Request, if you're unfamiliar with that.

Creating a Pull Request

  1. Using your browser go to: https://github.com/foragerr/wenblok/blob/main/blocks.json
  2. If you're not already logged in, log in to GitHub. You may need to create an account if you don't already have one.
  3. Click on the edit icon:

pr1

  1. Note the banner message on the top (GitHub creates a copy of the repository in your account known as a fork, but that's not terribly important right now)

pr2

  1. Make changes to the file as necessary. Note the formatting of the existing blocks, the braces {}, commas ,, quotes " and colons : are important.

  2. When done making changes, scroll to the bottom of the page. Write a short message about what the changes are, and click "Propose change"

pr3

  1. Review changes and click "Create Pull Request" on the next page

pr4

  1. All done! @foragerr will see the Pull Request and accept it the next time they're around, or feel free to ping them on Syvita's discord channel.
Clone this wiki locally