This document describes how to contribute to the IOTA wiki.
We encourage everyone with knowledge of IOTA technology to contribute.
Thanks! ❤️
Ways to contribute 🔍
To contribute to iota-wiki on GitHub, you can:
- Report a bug
- Suggest a new feature or topic for the wiki
- Add a new feature or topic to the wiki
- Write content for the wiki
Report a bug 🐛
This section guides you through reporting a bug. Following these guidelines helps maintainers and the community understand the bug, reproduce the behavior, and find related bugs.
Please check the following list:
- Ensure the bug was not already reported by searching on GitHub under Issues. If the bug has already been reported and the issue is still open, add a comment to the existing issue instead of opening a new one.
Note: If you find a Closed issue that seems similar to what you're experiencing, open a new issue and include a link to the original issue in the body of your new one.
To report a bug, open a new issue, and be sure to include as many details as possible, using the template.
Note: Minor changes such as fixing a typo can but do not need an open issue.
If you also want to fix the bug, submit a pull request and reference the issue.
Suggest a new feature or topic for the wiki 💡
This section guides you through suggesting a new feature or adding a new topic to the wiki. Following these guidelines helps maintainers and the community collaborate to find the best possible way forward with your suggestion.
Ensure the feature or topic has not already been suggested by searching on GitHub under Issues.
To suggest a new feature/topic, open a new issue, using the suggestion template.
Add a new feature or topic to the wiki 🔨
This section guides you through adding a new feature or topic. Following these guidelines helps give your feature/topic the best chance of being approved and merged.
Check if there is already an open issue or pull request (PR), related to your feature/topic.
Otherwise, your feature may not be approved at all.
To build a new feature/topic, check out a new branch based on the ddevelop
branch.
Pull requests 📣
This section guides you through submitting a pull request (PR). Following these guidelines helps give your PR the best chance of being approved and merged.
Before submitting a pull request, please follow these steps to have your contribution considered by the maintainers:
-
A pull request should have exactly one concern (for example one feature or one bug). If a PR addresses more than one concern, it should be split into two or more PRs.
-
A pull request can be merged only if it references an open issue
Note: You don't need to open an issue for minor changes such as typos, but you can if you want.
-
All code should be well tested
The following is a typical workflow for submitting a new pull request:
- Fork this repository
- Create a new branch based on your fork. For example,
git checkout -b fix/my-fix
orgit checkout -b feat/my-feature
. - Commit changes and push them to your fork
- Target your pull request to be merged with
develop
If he maintainer approves the PR, it will be merged.
Note: Reviewers may ask you to complete additional work, tests, or other changes before your pull request can be approved and merged.
Write Content ✏️:
To edit a document, click the pencil (edit this file) in the top right corner when viewing in github.
This will open up the Github editor so you can edit your file.
All pages are themed and styled automatically and follow a standardised format throughout the wiki.
Each page’s content is preceded by its front matter information. This tells the wiki what it needs to know about the page to add it to the front-end in the right place. This does not need to be edited
---
id: my-doc-id
title: My document title
description: My document description
slug: /my-custom-url
---
# Header 1
– should only be used for page title/header using a single hash
## Header 2
– should be used for main sub-sections of the topic using a double hash
### Header 3
– should be used for internal sections of these sub-sections using treble hash
All page content should be written as standard text.
A paragraph can be created by leaving a double line break between two text blocks
Use single asterisk to make a word or sentence *italic*
Use double asterisk to make a word or sentence **bold**
Use triple asterisk to make a word or sentence ***bold and italic***
Use double tilde to ~~strike through~~
a word or sentence
To add a link to a page we use square brackets to contain the link text followed by round brackets containing the link address:
[this is a link](https://www.website.com)
To add an image to a page we first need to upload the page to the image folder
Then in our page we can add the image using the same method as a link preceded with an exclamation mark:

To make an image a link, we can combine the two methods, by putting the link within the text section of the image code:
[](https://example.com)
To create lists we use two different methods.
- Bullet point
- lists
- using a hyphen
1. Numbered
2. Lists
3. Using numbers
>To add a quoted or embedded text, we use the greater than symbol at the start of the section. To close off a quote we create a new paragraph.
There are two types of code entry we use `inline code`
which is wrapped with single backticks
```Code blocks can be added in page where required
either to demonstrate function,
or to add exclamation to a section,
by wrapping the section with treble backticks
### Line Divider
We can add a line divider to break up the page by adding 4 dashes
```----
Once you have completed your contribution go to the bottom of the edit page to the commit changes section.
- In the title add the title of the page you have edited.
- Edited pagename.md
- In the description explain a little about your edits, whether it was fact correction, typo edits, or full page creation, page formatting, etc.
- Select create a new branch
- Name the branch after your name-pagename-edit
- Click commit changes
- This will open a pull request, where you can fill out the basic information for your updates.
- Then click the create pull request button
Enjoy contributing and if you have any questions or ideas send us an issue!